結果
問題 | No.257 N言っちゃダメゲーム (3) |
ユーザー | pluto77 |
提出日時 | 2016-09-16 08:41:39 |
言語 | Python2 (2.7.18) |
結果 |
TLE
(最新)
AC
(最初)
|
実行時間 | - |
コード長 | 155 bytes |
コンパイル時間 | 113 ms |
コンパイル使用メモリ | 6,944 KB |
実行使用メモリ | 43,552 KB |
最終ジャッジ日時 | 2024-07-17 00:26:00 |
合計ジャッジ時間 | 6,510 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | TLE * 1 |
ソースコード
#yuki_257 n,k=map(int,raw_input().split()) res=(n-1)%(k+1) print res i=1 while True: temp=int(raw_input()) if temp>=n: break print res+(k+1)*i i+=1