結果

問題 No.1317 月曜日の朝、WAを出した
ユーザー kikage
提出日時 2021-08-14 23:32:15
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 151 ms / 1,500 ms
コード長 384 bytes
コンパイル時間 218 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-10-06 02:25:10
合計ジャッジ時間 1,041 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 4
権限があれば一括ダウンロードができます

ソースコード

diff #

N=int(input())
for i in range(N):
    A,W,T,M,O,R=map(int,input().split())
    a,w,t,m,o,r=map(int,input().split())
    cases=A+W+T+M+O+R
    X=input()
    if(X=="WA" and W==0 and t==m==o==r==0)or(X=="TLE" and T==0 and w==m==o==r==0)or(X=="MLE" and M==0 and w==t==o==r==0)or(X=="OLE" and O==0 and w==t==m==r==0)or(X=="RE" and R==0 and w==t==m==o==0):print("Yes")
    else:print("No")
0