結果
| 問題 | No.2655 Increasing Strides |
| コンテスト | |
| ユーザー |
titia
|
| 提出日時 | 2024-03-01 21:53:51 |
| 言語 | Python3 (3.14.7 + numpy 2.5.2 + scipy 1.18.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 337 ms / 2,000 ms |
| + 915µs | |
| コード長 | 210 bytes |
| 記録 | |
| コンパイル時間 | 278 ms |
| コンパイル使用メモリ | 21,468 KB |
| 実行使用メモリ | 49,780 KB |
| 最終ジャッジ日時 | 2026-09-06 02:39:39 |
| 合計ジャッジ時間 | 14,300 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 34 |
ソースコード
N=int(input())
OK=set()
for i in range(10**6):
if i>=7 and i%4==3:
OK.add(i)
if i>=6 and (i%8==6 or i%8==0):
OK.add(i)
if N in OK and N-1 in OK:
print("Yes")
else:
print("No")
titia