結果
問題 | No.1317 月曜日の朝、WAを出した |
ユーザー | roaris |
提出日時 | 2020-12-23 23:30:05 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 491 bytes |
コンパイル時間 | 447 ms |
コンパイル使用メモリ | 81,832 KB |
実行使用メモリ | 76,396 KB |
最終ジャッジ日時 | 2023-10-21 15:21:32 |
合計ジャッジ時間 | 1,406 ms |
ジャッジサーバーID (参考情報) |
judge12 / judge11 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 32 ms
53,564 KB |
testcase_01 | WA | - |
testcase_02 | WA | - |
testcase_03 | WA | - |
ソースコード
import sys input = sys.stdin.readline N = int(input()) for _ in range(N): l = list(map(int, input().split())) l2 = list(map(int, input().split())) X = input()[:-1] if X=='WA': mark = 1 elif X=='TLE': mark = 2 elif X=='MLE': mark = 3 elif X=='OLE': mark = 4 else: mark = 5 for i in range(1, 6): if i!=mark and l2[i]!=0: print('No') break else: print('Yes')