結果
| 問題 | No.3666 League of Jigsaw |
| コンテスト | |
| ユーザー |
sepa38
|
| 提出日時 | 2026-08-30 08:35:30 |
| 言語 | PyPy3 (7.3.23) |
| 結果 |
AC
|
| 実行時間 | 361 ms / 2,000 ms |
| + 956µs | |
| コード長 | 261 bytes |
| 記録 | |
| コンパイル時間 | 256 ms |
| コンパイル使用メモリ | 95,976 KB |
| 実行使用メモリ | 85,812 KB |
| 最終ジャッジ日時 | 2026-08-30 13:06:59 |
| 合計ジャッジ時間 | 3,602 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 6 |
ソースコード
for _ in range(int(input())):
l, j, o = map(int, input().split())
s = l + j - 2*o
if s < 0 or s % 6:
print("No")
continue
k = s // 6
if not (k <= l <= 5*k + 2*o):
print("No")
continue
if o == 0 and l % 2:
print("No")
continue
print("Yes")
sepa38