結果

問題 No.1317 月曜日の朝、WAを出した
ユーザー vwxyzvwxyz
提出日時 2022-09-06 18:17:39
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 90 ms / 1,500 ms
コード長 393 bytes
コンパイル時間 431 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,624 KB
最終ジャッジ日時 2024-05-01 14:16:05
合計ジャッジ時間 2,105 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

import sys
readline=sys.stdin.readline
write=sys.stdout.write

N=int(readline())
for n in range(N):
    lst0=list(map(int,readline().split()))
    lst1=list(map(int,readline().split()))
    X=readline().rstrip()
    i=['AC', 'WA', 'TLE', 'MLE', 'OLE', 'RE'].index(X)
    if lst0[i]==0 and all(lst1[j]==0 for j in range(1,6) if i!=j):
        ans="Yes"
    else:
        ans="No"
    print(ans)
0