結果
| 問題 | No.1256 連続整数列 |
| コンテスト | |
| ユーザー |
neetoto
|
| 提出日時 | 2020-10-31 00:28:03 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 322 bytes |
| 記録 | |
| コンパイル時間 | 947 ms |
| コンパイル使用メモリ | 20,700 KB |
| 実行使用メモリ | 23,400 KB |
| 最終ジャッジ日時 | 2026-04-03 07:21:24 |
| 合計ジャッジ時間 | 4,459 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 2 TLE * 1 -- * 37 |
ソースコード
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