結果
| 問題 | No.3659 CONSTRUCTION 1,2,3 |
| コンテスト | |
| ユーザー |
回転
|
| 提出日時 | 2026-08-30 15:37:19 |
| 言語 | PyPy3 (8.0.1 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 33 ms / 2,000 ms |
| + 899µs | |
| コード長 | 393 bytes |
| 記録 | |
| コンパイル時間 | 88 ms |
| コンパイル使用メモリ | 64,568 KB |
| 実行使用メモリ | 53,608 KB |
| 最終ジャッジ日時 | 2026-11-06 03:15:13 |
| 合計ジャッジ時間 | 2,273 ms |
|
ジャッジサーバーID (参考情報) |
judge4_0 / judge7_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 18 |
ソースコード
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
"""
回転