結果

問題 No.1317 月曜日の朝、WAを出した
ユーザー pluto77pluto77
提出日時 2022-02-09 13:27:29
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 135 ms / 1,500 ms
コード長 350 bytes
コンパイル時間 371 ms
コンパイル使用メモリ 10,824 KB
実行使用メモリ 7,932 KB
最終ジャッジ日時 2023-09-06 17:47:43
合計ジャッジ時間 1,407 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 13 ms
7,744 KB
testcase_01 AC 135 ms
7,932 KB
testcase_02 AC 130 ms
7,864 KB
testcase_03 AC 130 ms
7,816 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#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')
0