結果
| 問題 | No.1896 Arrays and XOR Procedure 2 |
| コンテスト | |
| ユーザー |
とりゐ
|
| 提出日時 | 2021-12-21 17:19:28 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 357 bytes |
| 記録 | |
| コンパイル時間 | 197 ms |
| コンパイル使用メモリ | 81,664 KB |
| 実行使用メモリ | 77,440 KB |
| 最終ジャッジ日時 | 2024-07-05 11:31:02 |
| 合計ジャッジ時間 | 5,251 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 WA * 2 |
| other | WA * 27 |
ソースコード
operation=[]
n=int(input())
a=list(map(int,input().split()))
b=list(map(int,input().split()))
for i in range(n):
if a[i]<b[i]:
pass
elif a[i]==b[i]:
operation.append((1,i,i))
elif a[i]>b[i]:
operation.append((1,i,i))
operation.append((2,i,i))
operation.append((1,i,i))
print(len(operation))
for t,p,q in operation:
print(t,p,q)
とりゐ