結果
問題 | No.8023 素数判定するだけ |
ユーザー |
![]() |
提出日時 | 2022-01-29 14:10:16 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 170 bytes |
コンパイル時間 | 347 ms |
コンパイル使用メモリ | 82,172 KB |
実行使用メモリ | 53,712 KB |
最終ジャッジ日時 | 2025-01-02 00:43:06 |
合計ジャッジ時間 | 5,250 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 24 WA * 1 |
ソースコード
n = int(input()) if(n == (True << True)): print("YES") exit() for i in range(True << True, n): if not(n % i): print("NO") exit() print("YES")