結果
| 問題 | No.3659 CONSTRUCTION 1,2,3 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-09-05 18:01:42 |
| 言語 | PyPy3 (7.3.23 + ACL) |
| 結果 |
WA
不安定
|
| 実行時間 | - |
| コード長 | 260 bytes |
| 記録 | |
| コンパイル時間 | 233 ms |
| コンパイル使用メモリ | 96,080 KB |
| 実行使用メモリ | 78,848 KB |
| 最終ジャッジ日時 | 2026-09-05 18:01:48 |
| 合計ジャッジ時間 | 2,786 ms |
|
ジャッジサーバーID (参考情報) |
judge4_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 14 WA * 1 |
ソースコード
from itertools import permutations
A, B, C = map(int, input().split())
for a, b, c in permutations([A, B, C]):
if b%2 == 0 and c%3 == 0:
exit(print('Yes'))
if a%6 == 0:
if b != 1 and c != 1:
exit(print('Yes'))
print('No')