結果

問題 No.1859 ><<<
ユーザー ripityripity
提出日時 2022-02-28 19:38:24
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 1,592 ms / 2,000 ms
コード長 169 bytes
コンパイル時間 276 ms
コンパイル使用メモリ 10,672 KB
実行使用メモリ 44,892 KB
最終ジャッジ日時 2023-09-21 04:07:42
合計ジャッジ時間 54,217 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,856 KB
testcase_01 AC 15 ms
7,932 KB
testcase_02 AC 15 ms
7,772 KB
testcase_03 AC 15 ms
7,908 KB
testcase_04 AC 1,584 ms
44,732 KB
testcase_05 AC 1,575 ms
44,728 KB
testcase_06 AC 1,578 ms
44,656 KB
testcase_07 AC 1,580 ms
44,660 KB
testcase_08 AC 1,577 ms
44,660 KB
testcase_09 AC 1,592 ms
44,628 KB
testcase_10 AC 83 ms
13,576 KB
testcase_11 AC 591 ms
28,016 KB
testcase_12 AC 459 ms
25,384 KB
testcase_13 AC 204 ms
19,520 KB
testcase_14 AC 667 ms
29,520 KB
testcase_15 AC 1,183 ms
37,460 KB
testcase_16 AC 1,362 ms
39,984 KB
testcase_17 AC 839 ms
33,932 KB
testcase_18 AC 1,258 ms
39,616 KB
testcase_19 AC 735 ms
31,496 KB
testcase_20 AC 1,187 ms
38,000 KB
testcase_21 AC 1,538 ms
42,084 KB
testcase_22 AC 1,392 ms
42,456 KB
testcase_23 AC 1,125 ms
38,800 KB
testcase_24 AC 1,437 ms
41,356 KB
testcase_25 AC 1,343 ms
39,868 KB
testcase_26 AC 1,188 ms
40,184 KB
testcase_27 AC 1,323 ms
39,848 KB
testcase_28 AC 1,259 ms
40,640 KB
testcase_29 AC 1,235 ms
40,612 KB
testcase_30 AC 1,109 ms
37,356 KB
testcase_31 AC 1,152 ms
38,916 KB
testcase_32 AC 1,557 ms
41,844 KB
testcase_33 AC 1,130 ms
37,244 KB
testcase_34 AC 1,258 ms
40,912 KB
testcase_35 AC 1,505 ms
42,184 KB
testcase_36 AC 1,515 ms
42,072 KB
testcase_37 AC 1,194 ms
38,040 KB
testcase_38 AC 1,553 ms
44,892 KB
testcase_39 AC 1,454 ms
42,200 KB
testcase_40 AC 1,401 ms
42,884 KB
testcase_41 AC 1,532 ms
42,020 KB
testcase_42 AC 1,098 ms
38,828 KB
testcase_43 AC 1,365 ms
40,360 KB
testcase_44 AC 1,252 ms
40,424 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
a = list(map(int,input().split()))
s = input()
t = ''
a.append(a[0])
for i in range(n):
    t += '>' if a[i] > a[i+1] else '<'
t += t
print( t.find(s) )
0