結果
問題 | No.1317 月曜日の朝、WAを出した |
ユーザー |
![]() |
提出日時 | 2021-01-14 14:11:51 |
言語 | Python3 (3.9.0 + numpy 1.14.5 + scipy 1.1.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 428 Byte |
コンパイル時間 | 58 ms |
使用メモリ | 8,216 KB |
最終ジャッジ日時 | 2021-01-14 14:11:52 |
合計ジャッジ時間 | 1,220 ms |
テストケース
テストケース表示入力 | 結果 | 実行時間 使用メモリ |
---|---|---|
testcase_00 | AC | 15 ms
8,104 KB |
testcase_01 | WA | - |
testcase_02 | WA | - |
testcase_03 | WA | - |
ソースコード
not_AC_dict = {'WA' : 1, 'TLE' : 2, 'MLE' : 3, 'OLE' :4, 'RE' :5} t = int(input()) for i in range(t): a = [int (v) for v in input().split()] b = [int (v) for v in input().split()] s = input() ans = [] for j in range(6): if j == 0: ans.append(a[j] >= b[j]) elif j != not_AC_dict[s]: ans.append(b[j] == 0) # print(ans) print("Yes") if all(ans) else print("No")