結果

問題 No.143 豆
ユーザー なおなお
提出日時 2015-02-06 00:27:11
言語 Perl
(5.38.0)
結果
AC  
実行時間 3 ms / 1,000 ms
コード長 53 bytes
コンパイル時間 101 ms
コンパイル使用メモリ 5,216 KB
実行使用メモリ 4,816 KB
最終ジャッジ日時 2023-09-30 16:29:30
合計ジャッジ時間 940 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 3 ms
4,632 KB
testcase_01 AC 3 ms
4,648 KB
testcase_02 AC 3 ms
4,588 KB
testcase_03 AC 3 ms
4,652 KB
testcase_04 AC 3 ms
4,588 KB
testcase_05 AC 3 ms
4,632 KB
testcase_06 AC 2 ms
4,508 KB
testcase_07 AC 3 ms
4,508 KB
testcase_08 AC 2 ms
4,636 KB
testcase_09 AC 3 ms
4,512 KB
testcase_10 AC 3 ms
4,816 KB
testcase_11 AC 2 ms
4,804 KB
testcase_12 AC 3 ms
4,532 KB
testcase_13 AC 2 ms
4,788 KB
testcase_14 AC 3 ms
4,640 KB
testcase_15 AC 2 ms
4,532 KB
testcase_16 AC 3 ms
4,776 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

<>=~/ /;$n=$`*$';$n-=$_ for<>=~/\d+/g;print$n<0?-1:$n
0