結果
| 問題 |
No.36 素数が嫌い!
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-06-15 20:44:31 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 168 bytes |
| コンパイル時間 | 397 ms |
| コンパイル使用メモリ | 81,976 KB |
| 実行使用メモリ | 59,516 KB |
| 最終ジャッジ日時 | 2024-06-23 18:48:34 |
| 合計ジャッジ時間 | 2,854 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 17 WA * 9 |
ソースコード
def isprime(n):
for i in range(2, int(n ** 0.5) + 1):
if n % i == 0:
return False
return True
if isprime(int(input())):
print("NO")
else:
print("YES")