結果
| 問題 | No.1544 [Cherry 2nd Tune C] Synchroscope |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-06-21 11:16:20 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 311 bytes |
| 記録 | |
| コンパイル時間 | 581 ms |
| コンパイル使用メモリ | 20,952 KB |
| 実行使用メモリ | 15,616 KB |
| 最終ジャッジ日時 | 2026-03-07 06:23:17 |
| 合計ジャッジ時間 | 16,802 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 11 WA * 37 |
ソースコード
n, m = list(map(int, input().split()))
a = list(map(int, input().split()))
b = list(map(int, input().split()))
def check ():
res = 1
for i in range(n):
for j in range(m):
if a[i] == b[j]:
print(res)
return
res += 1
print(-1)
check()