結果
| 問題 | No.3659 CONSTRUCTION 1,2,3 |
| コンテスト | |
| ユーザー |
回転
|
| 提出日時 | 2026-08-30 15:37:19 |
| 言語 | PyPy3 (7.3.23) |
| 結果 |
AC
|
| 実行時間 | 70 ms / 2,000 ms |
| + 52µs | |
| コード長 | 393 bytes |
| 記録 | |
| コンパイル時間 | 238 ms |
| コンパイル使用メモリ | 95,844 KB |
| 実行使用メモリ | 79,232 KB |
| 最終ジャッジ日時 | 2026-08-30 15:37:26 |
| 合計ジャッジ時間 | 2,744 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 15 |
ソースコード
from itertools import permutations
A,B,C = list(map(int,input().split()))
for a,b,c in permutations([A,B,C]):
if(a%1 == 0 and b%2 == 0 and c%3 == 0):
print("Yes")
exit()
if(a%1 == 0 and b%6 == 0 and c%2 == 1 and c > 1):
print("Yes")
exit()
print("No")
"""
00011
00011
22211
22244
33344
33344
0001122
0001122
3331122
3335566
4445566
4445566
"""
回転