結果
| 問題 |
No.1317 月曜日の朝、WAを出した
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-12-16 00:45:03 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 121 ms / 1,500 ms |
| コード長 | 284 bytes |
| コンパイル時間 | 447 ms |
| コンパイル使用メモリ | 82,432 KB |
| 実行使用メモリ | 77,824 KB |
| 最終ジャッジ日時 | 2024-09-20 03:32:29 |
| 合計ジャッジ時間 | 1,162 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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')