結果

問題 No.1859 ><<<
ユーザー pluto77pluto77
提出日時 2022-03-04 09:57:17
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 1,567 ms / 2,000 ms
コード長 171 bytes
コンパイル時間 325 ms
コンパイル使用メモリ 10,704 KB
実行使用メモリ 44,664 KB
最終ジャッジ日時 2023-09-25 08:47:24
合計ジャッジ時間 16,173 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,848 KB
testcase_01 AC 15 ms
7,816 KB
testcase_02 AC 15 ms
7,828 KB
testcase_03 AC 16 ms
7,780 KB
testcase_04 AC 1,563 ms
44,636 KB
testcase_05 AC 1,567 ms
44,664 KB
testcase_06 AC 1,558 ms
44,584 KB
testcase_07 AC 1,558 ms
44,628 KB
testcase_08 AC 1,557 ms
44,580 KB
testcase_09 AC 1,560 ms
44,628 KB
testcase_10 AC 81 ms
13,600 KB
testcase_11 AC 638 ms
27,912 KB
testcase_12 AC 453 ms
25,456 KB
testcase_13 AC 199 ms
19,560 KB
testcase_14 AC 648 ms
29,496 KB
testcase_15 AC 1,139 ms
37,404 KB
testcase_16 AC 1,336 ms
40,108 KB
testcase_17 AC 828 ms
34,104 KB
testcase_18 AC 1,243 ms
39,564 KB
testcase_19 AC 723 ms
31,556 KB
testcase_20 AC 1,167 ms
38,084 KB
testcase_21 AC 1,481 ms
42,080 KB
testcase_22 AC 1,364 ms
42,316 KB
testcase_23 AC 1,107 ms
38,728 KB
testcase_24 AC 1,438 ms
41,496 KB
testcase_25 AC 1,330 ms
39,840 KB
testcase_26 AC 1,190 ms
40,112 KB
testcase_27 AC 1,324 ms
40,044 KB
testcase_28 AC 1,331 ms
40,640 KB
testcase_29 AC 1,244 ms
40,780 KB
testcase_30 AC 1,153 ms
37,388 KB
testcase_31 AC 1,134 ms
37,384 KB
testcase_32 AC 1,489 ms
41,760 KB
testcase_33 AC 1,138 ms
37,412 KB
testcase_34 AC 1,315 ms
40,944 KB
testcase_35 AC 1,509 ms
42,236 KB
testcase_36 AC 1,500 ms
41,996 KB
testcase_37 AC 1,181 ms
38,072 KB
testcase_38 AC 1,546 ms
44,648 KB
testcase_39 AC 1,522 ms
42,200 KB
testcase_40 AC 1,412 ms
43,112 KB
testcase_41 AC 1,512 ms
42,132 KB
testcase_42 AC 1,098 ms
38,748 KB
testcase_43 AC 1,332 ms
40,420 KB
testcase_44 AC 1,228 ms
40,332 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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