提出 #14072093


ソースコード 拡げる

N=int(input())
Pn=[]
P=input().split()
for p in P:
    Pn.append(int(p))

count=1
nowmin=Pn[0]

for i in range(1,len (Pn)):
    targetArr=Pn[:i]
    if Pn[i]<nowmin:
        count+=1
        nowmin = Pn[i]
    
print(count)

提出情報

提出日時
問題 C - Low Elements
ユーザ negibose2020
言語 PyPy3 (2.4.0)
得点 0
コード長 240 Byte
結果 TLE
実行時間 2112 ms
メモリ 138420 KiB

ジャッジ結果

セット名 Sample All
得点 / 配点 0 / 0 0 / 300
結果
AC × 5
AC × 10
TLE × 10
セット名 テストケース
Sample 00-sample-01.txt, 00-sample-02.txt, 00-sample-03.txt, 00-sample-04.txt, 00-sample-05.txt
All 00-sample-01.txt, 00-sample-02.txt, 00-sample-03.txt, 00-sample-04.txt, 00-sample-05.txt, dec.txt, inc.txt, killer_01.txt, killer_02.txt, killer_03.txt, rand_01.txt, rand_02.txt, rand_03.txt, rand_04.txt, rand_05.txt, small_01.txt, small_02.txt, small_03.txt, small_04.txt, small_05.txt
ケース名 結果 実行時間 メモリ
00-sample-01.txt AC 160 ms 38256 KiB
00-sample-02.txt AC 165 ms 38256 KiB
00-sample-03.txt AC 165 ms 38256 KiB
00-sample-04.txt AC 162 ms 38256 KiB
00-sample-05.txt AC 163 ms 38256 KiB
dec.txt TLE 2112 ms 136360 KiB
inc.txt TLE 2111 ms 138420 KiB
killer_01.txt TLE 2112 ms 136616 KiB
killer_02.txt TLE 2111 ms 136488 KiB
killer_03.txt TLE 2112 ms 136104 KiB
rand_01.txt TLE 2111 ms 137908 KiB
rand_02.txt TLE 2111 ms 136104 KiB
rand_03.txt TLE 2112 ms 136104 KiB
rand_04.txt TLE 2112 ms 136360 KiB
rand_05.txt TLE 2111 ms 136104 KiB
small_01.txt AC 165 ms 38256 KiB
small_02.txt AC 168 ms 38384 KiB
small_03.txt AC 167 ms 38256 KiB
small_04.txt AC 167 ms 38256 KiB
small_05.txt AC 164 ms 38256 KiB