結果
問題 |
No.36 素数が嫌い!
|
ユーザー |
![]() |
提出日時 | 2017-07-24 10:11:09 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
TLE
|
実行時間 | - |
コード長 | 186 bytes |
コンパイル時間 | 172 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 17,188 KB |
最終ジャッジ日時 | 2024-10-09 13:35:25 |
合計ジャッジ時間 | 12,571 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | -- * 4 |
other | TLE * 1 -- * 25 |
ソースコード
N = int(input()) A = 0 if N == 1: print("NO") else: for i in range(2,N): if N%i == 0: A = 1 if A == 1: print("YES") else: print("NO")