結果
| 問題 |
No.1859 ><<<
|
| ユーザー |
ripity
|
| 提出日時 | 2022-02-28 19:38:24 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 1,408 ms / 2,000 ms |
| コード長 | 169 bytes |
| コンパイル時間 | 186 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 42,888 KB |
| 最終ジャッジ日時 | 2024-07-06 22:45:12 |
| 合計ジャッジ時間 | 47,514 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 41 |
ソースコード
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) )
ripity