結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 41 ms
11,132 KB
testcase_01 AC 40 ms
11,088 KB
testcase_02 AC 40 ms
11,204 KB
testcase_03 AC 39 ms
11,236 KB
testcase_04 AC 40 ms
11,284 KB
testcase_05 AC 40 ms
11,152 KB
testcase_06 AC 40 ms
11,212 KB
testcase_07 AC 40 ms
11,104 KB
testcase_08 AC 40 ms
11,176 KB
testcase_09 AC 43 ms
11,172 KB
testcase_10 AC 40 ms
11,128 KB
testcase_11 AC 40 ms
11,280 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

#!/usr/bin/env perl

use strict;
use warnings;
use bigint;

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