結果
問題 | No.1317 月曜日の朝、WAを出した |
ユーザー | first_vil |
提出日時 | 2020-12-14 09:27:03 |
言語 | Python3 (3.12.2 + numpy 1.26.4 + scipy 1.12.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 309 bytes |
コンパイル時間 | 247 ms |
コンパイル使用メモリ | 11,864 KB |
実行使用メモリ | 10,220 KB |
最終ジャッジ日時 | 2023-10-20 04:49:51 |
合計ジャッジ時間 | 1,285 ms |
ジャッジサーバーID (参考情報) |
judge13 / judge12 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | WA | - |
testcase_01 | WA | - |
testcase_02 | WA | - |
testcase_03 | WA | - |
ソースコード
X=['AC','WA','TLE','MLE','OLE','RE'] def solve(): global X a=list(map(int,input().split())) b=list(map(int,input().split())) k=X.index(input()) if b[k]==0: return 'No' if a[k]!=0: return 'No' if sum(a[1:])!=b[k]: return 'No' return 'Yes' for _ in [0]*int(input()): print(solve())