結果

問題 No.3659 CONSTRUCTION 1,2,3
コンテスト
ユーザー sepa38
提出日時 2026-08-25 13:04:37
言語 PyPy3
(8.0.1 + ACL)
コンパイル:
pypy3 -mpy_compile _filename_
実行:
pypy3 _filename_
結果
AC  
実行時間 32 ms / 2,000 ms
+ 996µs
コード長 201 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 811 ms
コンパイル使用メモリ 64,660 KB
実行使用メモリ 53,592 KB
最終ジャッジ日時 2026-11-06 03:12:22
合計ジャッジ時間 2,133 ms
ジャッジサーバーID
(参考情報)
judge2_0 / judge7_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 18
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

from itertools import permutations

abc = list(map(int, input().split()))

for x, y in permutations(abc, 2):
	if x % 2 == 0 and y % 3 == 0 or x % 6 == 0 and y >= 5:
		print("Yes")
		exit()

print("No")
0