結果

問題 No.477 MVP
ユーザー motimoti
提出日時 2018-05-20 23:25:03
言語 Perl
(5.38.2)
結果
AC  
実行時間 43 ms / 1,000 ms
コード長 122 bytes
コンパイル時間 188 ms
コンパイル使用メモリ 11,100 KB
実行使用メモリ 11,348 KB
最終ジャッジ日時 2023-09-11 00:10:14
合計ジャッジ時間 1,586 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 41 ms
11,084 KB
testcase_01 AC 42 ms
11,144 KB
testcase_02 AC 42 ms
11,240 KB
testcase_03 AC 41 ms
11,292 KB
testcase_04 AC 42 ms
11,116 KB
testcase_05 AC 41 ms
11,232 KB
testcase_06 AC 42 ms
11,348 KB
testcase_07 AC 41 ms
11,316 KB
testcase_08 AC 43 ms
11,348 KB
testcase_09 AC 43 ms
11,200 KB
testcase_10 AC 41 ms
11,164 KB
testcase_11 AC 42 ms
11,332 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

#!/usr/bin/env perl

use strict;
use warnings;
use bigint;

my ($n, $k) = split/ /, <>; chomp $k;
print $n / ($k + 1) + 1
0