結果
| 問題 | No.257 N言っちゃダメゲーム (3) |
| コンテスト | |
| ユーザー |
ntuda
|
| 提出日時 | 2024-12-04 15:32:11 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 187 bytes |
| コンパイル時間 | 733 ms |
| コンパイル使用メモリ | 82,288 KB |
| 実行使用メモリ | 83,348 KB |
| 平均クエリ数 | 2.90 |
| 最終ジャッジ日時 | 2024-12-04 15:32:19 |
| 合計ジャッジ時間 | 6,896 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 3 RE * 27 |
ソースコード
N,K = map(int,input().split())
x0 = N % (K+1)
x = x0
print(x)
while 1:
y = int(input())
print("a",y)
if y >= N:
exit()
x = y + K + 1 - (y-x0) % (K+1)
print(x)
ntuda