結果
| 問題 | No.1317 月曜日の朝、WAを出した |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-12-16 00:45:03 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 86 ms / 1,500 ms |
| コード長 | 284 bytes |
| 記録 | |
| コンパイル時間 | 425 ms |
| コンパイル使用メモリ | 85,072 KB |
| 実行使用メモリ | 81,792 KB |
| 最終ジャッジ日時 | 2026-04-08 15:36:36 |
| 合計ジャッジ時間 | 1,549 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 4 |
ソースコード
judge = {'WA':1, 'TLE':2, 'MLE':3, 'OLE':4, 'RE':5}
T = int(input())
ans = ['No']*T
for t in range(T):
A = list(map(int, input().split()))
B = list(map(int, input().split()))
X = input()
if A[judge[X]]==0 and sum(B[1:])-B[judge[X]]==0:
ans[t] = 'Yes'
print(*ans, sep='\n')