結果
問題 |
No.1317 月曜日の朝、WAを出した
|
ユーザー |
|
提出日時 | 2022-02-09 13:27:29 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 184 ms / 1,500 ms |
コード長 | 350 bytes |
コンパイル時間 | 191 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-06-24 12:13:12 |
合計ジャッジ時間 | 1,430 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 4 |
ソースコード
#yuki1317 d={'WA':1,'TLE':2,'MLE':3,'OLE':4,'RE':5} n=int(input()) for i in range(n): a=list(map(int,input().split())) b=list(map(int,input().split())) x=input() res=[] for j in range(6): if j==0: res.append(a[j]>=b[j]) elif j!=d[x]: res.append(b[j]==0) else: res.append(a[j]==0) if all(res): print('Yes') else: print('No')