結果
| 問題 |
No.1317 月曜日の朝、WAを出した
|
| コンテスト | |
| ユーザー |
titia
|
| 提出日時 | 2020-12-14 05:38:19 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 547 bytes |
| コンパイル時間 | 78 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 10,752 KB |
| 最終ジャッジ日時 | 2024-09-20 00:25:55 |
| 合計ジャッジ時間 | 594 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 4 |
ソースコード
N=int(input())
for tests in range(N):
A0,W0,T0,M0,O0,R0=map(int,input().split())
A1,W1,T1,M1,O1,R1=map(int,input().split())
X=input()
if X=="WA" and W0==0 and r+W0+T0+M0+O0+R0==W1:
print("Yes")
elif X=="TLE" and T0==0 and r+W0+T0+M0+O0+R0==T1:
print("Yes")
elif X=="MLE" and M0==0 and r+W0+T0+M0+O0+R0==M1:
print("Yes")
elif X=="OLE" and O0==0 and r+W0+T0+M0+O0+R0==O1:
print("Yes")
elif X=="RE" and R0==0 and r+W0+T0+M0+O0+R0==R1:
print("Yes")
else:
print("No")
titia