結果
問題 |
No.1317 月曜日の朝、WAを出した
|
ユーザー |
![]() |
提出日時 | 2022-09-06 18:17:39 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 85 ms / 1,500 ms |
コード長 | 393 bytes |
コンパイル時間 | 402 ms |
コンパイル使用メモリ | 12,800 KB |
実行使用メモリ | 10,624 KB |
最終ジャッジ日時 | 2024-11-21 19:05:55 |
合計ジャッジ時間 | 2,023 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 4 |
ソースコード
import sys readline=sys.stdin.readline write=sys.stdout.write N=int(readline()) for n in range(N): lst0=list(map(int,readline().split())) lst1=list(map(int,readline().split())) X=readline().rstrip() i=['AC', 'WA', 'TLE', 'MLE', 'OLE', 'RE'].index(X) if lst0[i]==0 and all(lst1[j]==0 for j in range(1,6) if i!=j): ans="Yes" else: ans="No" print(ans)