結果
| 問題 | No.3659 CONSTRUCTION 1,2,3 |
| コンテスト | |
| ユーザー |
回転
|
| 提出日時 | 2026-08-30 15:37:19 |
| 言語 | PyPy3 (8.0.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 34 ms / 2,000 ms |
| + 807µs | |
| コード長 | 393 bytes |
| 記録 | |
| コンパイル時間 | 91 ms |
| コンパイル使用メモリ | 64,744 KB |
| 実行使用メモリ | 53,700 KB |
| 最終ジャッジ日時 | 2026-10-22 13:13:32 |
| 合計ジャッジ時間 | 2,272 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge5_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 16 |
ソースコード
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
"""
回転