結果
問題 | No.1317 月曜日の朝、WAを出した |
ユーザー | titia |
提出日時 | 2020-12-14 05:30:35 |
言語 | Python3 (3.12.2 + numpy 1.26.4 + scipy 1.12.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 560 bytes |
コンパイル時間 | 101 ms |
コンパイル使用メモリ | 11,848 KB |
実行使用メモリ | 10,084 KB |
最終ジャッジ日時 | 2023-10-20 04:41:50 |
合計ジャッジ時間 | 1,114 ms |
ジャッジサーバーID (参考情報) |
judge11 / judge14 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 29 ms
10,064 KB |
testcase_01 | WA | - |
testcase_02 | WA | - |
testcase_03 | WA | - |
ソースコード
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() r=A0-A1 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=="RLE" and R0==0 and r+W0+T0+M0+O0+R0==R1: print("Yes") else: print("No")