結果
問題 | No.1317 月曜日の朝、WAを出した |
ユーザー | titia |
提出日時 | 2020-12-14 05:33:53 |
言語 | Python3 (3.12.2 + numpy 1.26.4 + scipy 1.12.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 608 bytes |
コンパイル時間 | 140 ms |
コンパイル使用メモリ | 11,864 KB |
実行使用メモリ | 10,184 KB |
最終ジャッジ日時 | 2023-10-20 04:41:51 |
合計ジャッジ時間 | 1,122 ms |
ジャッジサーバーID (参考情報) |
judge13 / judge11 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 30 ms
10,152 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 r<0: print("No") continue 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")