結果
| 問題 |
No.1317 月曜日の朝、WAを出した
|
| コンテスト | |
| ユーザー |
Kude
|
| 提出日時 | 2020-12-15 13:43:25 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 172 ms / 1,500 ms |
| コード長 | 351 bytes |
| コンパイル時間 | 149 ms |
| コンパイル使用メモリ | 82,480 KB |
| 実行使用メモリ | 77,312 KB |
| 最終ジャッジ日時 | 2024-09-20 01:38:47 |
| 合計ジャッジ時間 | 1,163 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 4 |
ソースコード
d = dict(zip(['AC', 'WA', 'TLE', 'MLE', 'OLE', 'RE'], range(6)))
for _ in range(int(input())):
s = list(map(int, input().split()))
ns = list(map(int, input().split()))
x = d[input()]
ans = ('Yes' if (s[x] == 0 and
not any(ns[1:x]) and
not any(ns[x+1:])) else
'No')
print(ans)
Kude