結果
問題 | No.36 素数が嫌い! |
ユーザー |
|
提出日時 | 2021-08-07 16:49:49 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 200 bytes |
コンパイル時間 | 123 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 17,696 KB |
最終ジャッジ日時 | 2024-09-18 19:33:45 |
合計ジャッジ時間 | 7,156 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | -- * 4 |
other | AC * 4 WA * 3 TLE * 1 -- * 18 |
ソースコード
N = int(input()) result = 'NO' if N == 0 or N == 1 or N == 2: result = 'NO' else: for i in range(2, N // 2): if N % i == 0: result = 'YES' break print(result)