結果

問題 No.3659 CONSTRUCTION 1,2,3
コンテスト
ユーザー 👑 loop0919
提出日時 2026-08-30 14:01:01
言語 PyPy3
(7.3.23)
コンパイル:
pypy3 -mpy_compile _filename_
実行:
pypy3 _filename_
結果
WA  
実行時間 -
コード長 199 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 234 ms
コンパイル使用メモリ 95,752 KB
実行使用メモリ 79,232 KB
最終ジャッジ日時 2026-08-30 14:01:21
合計ジャッジ時間 2,636 ms
ジャッジサーバーID
(参考情報)
judge3_0 / judge2_1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 12 WA * 3
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

from itertools import permutations

L = [int(s) for s in input().split()]

for perm in permutations(L):
    if perm[1] % 2 == 0 and perm[2] % 3 == 0:
        print("Yes")
        exit()

print("No")
0