結果

問題 No.1317 月曜日の朝、WAを出した
ユーザー Konton7Konton7
提出日時 2021-01-14 14:11:51
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 428 bytes
コンパイル時間 126 ms
コンパイル使用メモリ 10,968 KB
実行使用メモリ 7,944 KB
最終ジャッジ日時 2023-08-15 20:07:05
合計ジャッジ時間 979 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 14 ms
7,820 KB
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

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")
0