結果

問題 No.518 ローマ数字の和
ユーザー tailstails
提出日時 2017-05-31 22:56:21
言語 Perl
(5.38.0)
結果
AC  
実行時間 5 ms / 2,000 ms
コード長 163 bytes
コンパイル時間 100 ms
コンパイル使用メモリ 5,460 KB
実行使用メモリ 5,612 KB
最終ジャッジ日時 2023-10-21 19:09:43
合計ジャッジ時間 1,060 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
外部呼び出し有り
このコードへのチャレンジ(β)

テストケース

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

ソースコード

diff #

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