提出 #19328733


ソースコード 拡げる

import sys
input = sys.stdin.readline
import numpy as np

#    int(input())
#    input().split().strip()
#    map(int, input().strip().split())

n = int(input())
A = [int(a) for a in input().strip().split()]

B = np.array(A,dtype=np.int32)

B = np.reshape(B, (2,-1))

ma = np.max(B, axis=1)

num = min(ma)

print(A.index(num)+1)

提出情報

提出日時
問題 C - ABC Tournament
ユーザ rsypoz
言語 Python (3.8.2)
得点 300
コード長 349 Byte
結果 AC
実行時間 208 ms
メモリ 34668 KiB

ジャッジ結果

セット名 Sample All
得点 / 配点 0 / 0 300 / 300
結果
AC × 3
AC × 12
セット名 テストケース
Sample sample_01.txt, sample_02.txt, sample_03.txt
All extreme_00.txt, handmade_00.txt, handmade_01.txt, random_00.txt, random_01.txt, random_02.txt, random_03.txt, random_04.txt, random_05.txt, sample_01.txt, sample_02.txt, sample_03.txt
ケース名 結果 実行時間 メモリ
extreme_00.txt AC 208 ms 34668 KiB
handmade_00.txt AC 111 ms 27220 KiB
handmade_01.txt AC 110 ms 27076 KiB
random_00.txt AC 206 ms 33560 KiB
random_01.txt AC 179 ms 33772 KiB
random_02.txt AC 132 ms 33492 KiB
random_03.txt AC 113 ms 27056 KiB
random_04.txt AC 110 ms 27056 KiB
random_05.txt AC 111 ms 26736 KiB
sample_01.txt AC 112 ms 27048 KiB
sample_02.txt AC 109 ms 27120 KiB
sample_03.txt AC 111 ms 27000 KiB