結果

問題 No.1317 月曜日の朝、WAを出した
ユーザー 小野寺健小野寺健
提出日時 2021-05-25 11:40:50
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 172 ms / 1,500 ms
コード長 307 bytes
コンパイル時間 128 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-04-21 21:34:45
合計ジャッジ時間 1,153 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

Result = ['AC','WA','TLE','MLE','OLE','RE']

N = int(input())
for _ in range(N):
    R0 = list(map(int, input().split()))
    R1 = list(map(int, input().split()))
    X = input()
    i = Result.index(X)
    if R0[i] == 0 and any(R1[1:i]+R1[i+1:]) == False:
        print('Yes')
    else:
        print('No')
0