結果

問題 No.1317 月曜日の朝、WAを出した
ユーザー marroncastlemarroncastle
提出日時 2020-12-16 00:45:03
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 136 ms / 1,500 ms
コード長 284 bytes
コンパイル時間 905 ms
コンパイル使用メモリ 81,484 KB
実行使用メモリ 76,872 KB
最終ジャッジ日時 2023-10-20 08:04:05
合計ジャッジ時間 2,327 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 40 ms
53,252 KB
testcase_01 AC 136 ms
76,836 KB
testcase_02 AC 131 ms
76,872 KB
testcase_03 AC 134 ms
76,872 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

judge = {'WA':1, 'TLE':2, 'MLE':3, 'OLE':4, 'RE':5}
T = int(input())
ans = ['No']*T
for t in range(T):
  A = list(map(int, input().split()))
  B = list(map(int, input().split()))
  X = input()
  if A[judge[X]]==0 and sum(B[1:])-B[judge[X]]==0:
    ans[t] = 'Yes'
print(*ans, sep='\n')
0