結果

問題 No.128 お年玉(1)
ユーザー 3846masa3846masa
提出日時 2015-03-16 04:21:37
言語 Perl
(5.38.0)
結果
AC  
実行時間 3 ms / 5,000 ms
コード長 98 bytes
コンパイル時間 433 ms
コンパイル使用メモリ 7,028 KB
実行使用メモリ 4,692 KB
最終ジャッジ日時 2023-07-24 14:43:42
合計ジャッジ時間 1,365 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
4,580 KB
testcase_01 AC 3 ms
4,604 KB
testcase_02 AC 3 ms
4,572 KB
testcase_03 AC 2 ms
4,596 KB
testcase_04 AC 2 ms
4,692 KB
testcase_05 AC 2 ms
4,572 KB
testcase_06 AC 2 ms
4,604 KB
testcase_07 AC 2 ms
4,608 KB
testcase_08 AC 2 ms
4,468 KB
testcase_09 AC 2 ms
4,464 KB
testcase_10 AC 2 ms
4,692 KB
testcase_11 AC 2 ms
4,604 KB
testcase_12 AC 2 ms
4,612 KB
testcase_13 AC 2 ms
4,572 KB
testcase_14 AC 3 ms
4,572 KB
testcase_15 AC 3 ms
4,692 KB
testcase_16 AC 2 ms
4,576 KB
testcase_17 AC 2 ms
4,580 KB
testcase_18 AC 2 ms
4,428 KB
testcase_19 AC 2 ms
4,624 KB
testcase_20 AC 3 ms
4,692 KB
testcase_21 AC 2 ms
4,576 KB
testcase_22 AC 2 ms
4,604 KB
testcase_23 AC 2 ms
4,596 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

chomp(my $total = <STDIN>);
chomp(my $num = <STDIN>);
print int($total / ($num*1000))*1000 . "\n";
0