結果
問題 | No.1317 月曜日の朝、WAを出した |
ユーザー |
👑 ![]() |
提出日時 | 2020-12-09 16:36:58 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 122 ms / 1,500 ms |
コード長 | 514 bytes |
コンパイル時間 | 172 ms |
コンパイル使用メモリ | 82,816 KB |
実行使用メモリ | 77,312 KB |
最終ジャッジ日時 | 2024-09-19 01:15:51 |
合計ジャッジ時間 | 1,280 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 4 |
ソースコード
import sys input=sys.stdin.readline N=int(input()) K=[""]*N Res=["AC","WA","TLE","MLE","OLE","RE"] for i in range(N): S=list(map(int,input().split())) H={Res[j]:S[j] for j in range(6)} T=list(map(int,input().split())) J={Res[j]:T[j] for j in range(6)} X=input()[:-1] #================================================ Flag=(H[X]==0) for Z in Res[1:]: if Z==X: continue Flag&=(J[Z]==0) if Flag: print("Yes") else: print("No")