結果

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

ソースコード

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