結果
| 問題 |
No.1317 月曜日の朝、WAを出した
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-08-23 06:22:27 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 409 bytes |
| コンパイル時間 | 509 ms |
| コンパイル使用メモリ | 82,048 KB |
| 実行使用メモリ | 77,568 KB |
| 最終ジャッジ日時 | 2024-11-07 06:43:19 |
| 合計ジャッジ時間 | 1,880 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 1 WA * 3 |
ソースコード
def solve():
awt = list(map(int, input().split()))
awt2 = list(map(int, input().split()))
x = input()
pos = " WTMOR".index(x[0])
if awt2[0] > awt[0]:
print("No")
return
for i in range(1, 6):
if pos == i:
continue
if awt2[i] != 0:
print("No")
return
print("Yes")
for _ in range(int(input())):
solve()