結果

問題 No.1317 月曜日の朝、WAを出した
ユーザー Konton7
提出日時 2021-01-14 14:11:51
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 428 bytes
コンパイル時間 71 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 10,880 KB
最終ジャッジ日時 2024-11-24 04:40:46
合計ジャッジ時間 1,025 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 1 WA * 3
権限があれば一括ダウンロードができます

ソースコード

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