結果

問題 No.1317 月曜日の朝、WAを出した
ユーザー googol_S0googol_S0
提出日時 2020-12-14 00:10:03
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 394 bytes
コンパイル時間 172 ms
コンパイル使用メモリ 81,844 KB
実行使用メモリ 77,572 KB
最終ジャッジ日時 2023-10-20 04:33:34
合計ジャッジ時間 1,210 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 39 ms
53,520 KB
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

N=int(input())
S=['AC','WA','TLE','MLE','OLE','RE']
for i in range(N):
  A=list(map(int,input().split()))
  B=list(map(int,input().split()))
  X=input()
  Y=0
  f=0
  for j in range(1,len(A)):
    if S[j]!=X:
      Y+=A[j]
  Z=0
  for j in range(1,len(B)):
    if S[j]==X:
      Z=B[j]
  if max(A)==A[0]:
    print('Yes')
  else:
    if Z==sum(A):
      print('Yes')
    else:
      print('No')
0