結果

問題 No.518 ローマ数字の和
ユーザー tailstails
提出日時 2017-05-31 21:37:31
言語 Perl
(5.38.2)
結果
AC  
実行時間 5 ms / 2,000 ms
コード長 170 bytes
コンパイル時間 48 ms
コンパイル使用メモリ 5,476 KB
実行使用メモリ 5,628 KB
最終ジャッジ日時 2023-10-21 19:08:33
合計ジャッジ時間 912 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
外部呼び出し有り
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

%h=@0=M1000CM900D500CD400C100XC90L50XL40X10IX9V5IV4I1=~/\d+|\D+/g;$"='|';$s+=$h{$_}for`dd`=~/@0/g;print+($_)=grep$h{$_}&&$s>=$h{$_},@0while$s<4e3?$s-=$h{$_}:!print"ERROR"
0