結果

問題 No.1859 ><<<
ユーザー ripityripity
提出日時 2022-03-09 20:25:55
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 1,630 ms / 2,000 ms
コード長 167 bytes
コンパイル時間 859 ms
コンパイル使用メモリ 10,596 KB
実行使用メモリ 44,816 KB
最終ジャッジ日時 2023-10-11 21:42:02
合計ジャッジ時間 58,393 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,812 KB
testcase_01 AC 15 ms
7,840 KB
testcase_02 AC 15 ms
7,824 KB
testcase_03 AC 15 ms
7,816 KB
testcase_04 AC 1,630 ms
44,592 KB
testcase_05 AC 1,629 ms
44,592 KB
testcase_06 AC 1,622 ms
44,628 KB
testcase_07 AC 1,626 ms
44,756 KB
testcase_08 AC 1,622 ms
44,684 KB
testcase_09 AC 1,626 ms
44,592 KB
testcase_10 AC 85 ms
13,716 KB
testcase_11 AC 610 ms
27,904 KB
testcase_12 AC 491 ms
25,504 KB
testcase_13 AC 212 ms
19,548 KB
testcase_14 AC 688 ms
29,496 KB
testcase_15 AC 1,204 ms
37,452 KB
testcase_16 AC 1,325 ms
39,928 KB
testcase_17 AC 864 ms
33,980 KB
testcase_18 AC 1,374 ms
39,768 KB
testcase_19 AC 730 ms
31,424 KB
testcase_20 AC 1,226 ms
38,016 KB
testcase_21 AC 1,558 ms
41,900 KB
testcase_22 AC 1,438 ms
42,316 KB
testcase_23 AC 1,172 ms
38,700 KB
testcase_24 AC 1,499 ms
41,340 KB
testcase_25 AC 1,337 ms
39,844 KB
testcase_26 AC 1,183 ms
40,308 KB
testcase_27 AC 1,329 ms
39,960 KB
testcase_28 AC 1,263 ms
40,640 KB
testcase_29 AC 1,228 ms
40,596 KB
testcase_30 AC 1,093 ms
37,380 KB
testcase_31 AC 1,190 ms
38,884 KB
testcase_32 AC 1,552 ms
41,744 KB
testcase_33 AC 1,124 ms
37,284 KB
testcase_34 AC 1,226 ms
40,812 KB
testcase_35 AC 1,491 ms
42,176 KB
testcase_36 AC 1,561 ms
41,964 KB
testcase_37 AC 1,234 ms
37,980 KB
testcase_38 AC 1,611 ms
44,816 KB
testcase_39 AC 1,437 ms
42,168 KB
testcase_40 AC 1,401 ms
42,952 KB
testcase_41 AC 1,530 ms
42,080 KB
testcase_42 AC 1,092 ms
38,720 KB
testcase_43 AC 1,422 ms
40,396 KB
testcase_44 AC 1,439 ms
40,456 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