結果

問題 No.782 マイナス進数
ユーザー tailstails
提出日時 2019-01-11 22:56:18
言語 Perl
(5.38.2)
結果
AC  
実行時間 204 ms / 2,000 ms
コード長 118 bytes
コンパイル時間 791 ms
コンパイル使用メモリ 5,128 KB
実行使用メモリ 7,048 KB
最終ジャッジ日時 2023-08-20 11:40:16
合計ジャッジ時間 5,127 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 6 ms
5,116 KB
testcase_01 AC 6 ms
5,252 KB
testcase_02 AC 44 ms
6,960 KB
testcase_03 AC 56 ms
6,884 KB
testcase_04 AC 68 ms
6,848 KB
testcase_05 AC 49 ms
7,048 KB
testcase_06 AC 45 ms
6,880 KB
testcase_07 AC 96 ms
6,888 KB
testcase_08 AC 54 ms
6,836 KB
testcase_09 AC 45 ms
6,868 KB
testcase_10 AC 45 ms
6,776 KB
testcase_11 AC 95 ms
6,932 KB
testcase_12 AC 81 ms
6,876 KB
testcase_13 AC 204 ms
6,848 KB
testcase_14 AC 81 ms
6,864 KB
testcase_15 AC 94 ms
7,008 KB
testcase_16 AC 83 ms
6,864 KB
testcase_17 AC 144 ms
6,848 KB
testcase_18 AC 82 ms
6,844 KB
testcase_19 AC 120 ms
6,860 KB
testcase_20 AC 82 ms
6,844 KB
testcase_21 AC 132 ms
6,876 KB
testcase_22 AC 91 ms
6,848 KB
testcase_23 AC 71 ms
6,844 KB
testcase_24 AC 199 ms
6,952 KB
testcase_25 AC 81 ms
6,792 KB
testcase_26 AC 109 ms
7,004 KB
testcase_27 AC 95 ms
6,844 KB
testcase_28 AC 79 ms
6,844 KB
testcase_29 AC 6 ms
5,324 KB
testcase_30 AC 7 ms
5,112 KB
testcase_31 AC 6 ms
5,196 KB
testcase_32 AC 7 ms
5,272 KB
testcase_33 AC 7 ms
5,348 KB
testcase_34 AC 7 ms
5,364 KB
testcase_35 AC 7 ms
5,168 KB
testcase_36 AC 6 ms
5,232 KB
testcase_37 AC 6 ms
5,232 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Name "main::t" used only once: possible typo at Main.pl line 1.
Main.pl syntax OK

ソースコード

diff #

($t,$b)=glob<>;

sub f{
	my$d=$_%-$b;
	if($_){
		local$_=($_-$d)/$b;
		f();
		print$d;
	}
}

for(<>){
	f;
	print$/;
}
0