結果

問題 No.1231 Make a Multiple of Ten
ユーザー tailstails
提出日時 2020-09-18 21:41:20
言語 Perl
(5.38.2)
結果
AC  
実行時間 1,322 ms / 2,000 ms
コード長 104 bytes
コンパイル時間 602 ms
コンパイル使用メモリ 5,308 KB
実行使用メモリ 46,544 KB
最終ジャッジ日時 2023-09-05 18:12:17
合計ジャッジ時間 8,456 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 7 ms
5,344 KB
testcase_01 AC 6 ms
5,256 KB
testcase_02 AC 6 ms
5,264 KB
testcase_03 AC 6 ms
5,276 KB
testcase_04 AC 548 ms
24,084 KB
testcase_05 AC 491 ms
21,444 KB
testcase_06 AC 195 ms
11,660 KB
testcase_07 AC 579 ms
24,912 KB
testcase_08 AC 269 ms
16,024 KB
testcase_09 AC 119 ms
8,936 KB
testcase_10 AC 543 ms
22,400 KB
testcase_11 AC 623 ms
26,196 KB
testcase_12 AC 1,175 ms
44,304 KB
testcase_13 AC 1,268 ms
46,312 KB
testcase_14 AC 7 ms
5,064 KB
testcase_15 AC 1,322 ms
46,544 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

@b=(0,(-<>)x9);
for$a(glob<>){
	@b=map{$j=($_-$a)%10;$b[$_]>$b[$j]?$b[$_]:$b[$j]+1}0..9;
}
print$b[0]+0;
0