結果
| 問題 | No.257 N言っちゃダメゲーム (3) |
| コンテスト | |
| ユーザー |
👑 tails
|
| 提出日時 | 2015-07-31 22:27:17 |
| 言語 | Perl (5.42.1) |
| 結果 |
TLE
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 115 bytes |
| 記録 | |
| コンパイル時間 | 38 ms |
| コンパイル使用メモリ | 6,144 KB |
| 実行使用メモリ | 45,616 KB |
| 最終ジャッジ日時 | 2026-03-31 10:01:11 |
| 合計ジャッジ時間 | 6,476 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | TLE * 1 -- * 29 |
コンパイルメッセージ
Unquoted string "k" may clash with future reserved word at Main.pl line 5. Name "main::k" used only once: possible typo at Main.pl line 2. Main.pl syntax OK
ソースコード
$|=1;
($n,$k)=<>=~/\d+/g;
$v=0;
while(1){
while(($n-$v)%(k+1)){
++$v;
}
print"$v\n";
$v=<>;
last if $v>$n;
}
tails