結果
| 問題 |
No.1256 連続整数列
|
| コンテスト | |
| ユーザー |
neetoto
|
| 提出日時 | 2020-10-31 00:28:03 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 322 bytes |
| コンパイル時間 | 132 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 16,000 KB |
| 最終ジャッジ日時 | 2024-07-22 04:04:42 |
| 合計ジャッジ時間 | 3,737 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 2 TLE * 1 -- * 23 |
ソースコード
A = int(input())
i = 0
for n in range(3, A):
if n % 2 == 0:
if A % n == 0:
print('Yes')
i = 1
break
elif n % 2 == 1:
if (A*2) % n == 1:
print('Yes')
i = 1
break
elif (A//n) > n:
break
if i == 0:
print('No')
neetoto