結果

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

テストケース

テストケース表示
入力 結果 実行時間
使用メモリ
testcase_00 AC 6 ms
5,148 KB
testcase_01 AC 6 ms
5,264 KB
testcase_02 AC 43 ms
6,856 KB
testcase_03 AC 55 ms
6,848 KB
testcase_04 AC 65 ms
6,840 KB
testcase_05 AC 47 ms
7,000 KB
testcase_06 AC 44 ms
6,740 KB
testcase_07 AC 93 ms
6,828 KB
testcase_08 AC 52 ms
6,852 KB
testcase_09 AC 43 ms
6,856 KB
testcase_10 AC 43 ms
6,780 KB
testcase_11 AC 91 ms
6,856 KB
testcase_12 AC 79 ms
6,832 KB
testcase_13 AC 195 ms
7,024 KB
testcase_14 AC 79 ms
7,048 KB
testcase_15 AC 91 ms
6,784 KB
testcase_16 AC 78 ms
6,760 KB
testcase_17 AC 138 ms
6,876 KB
testcase_18 AC 80 ms
6,832 KB
testcase_19 AC 113 ms
6,852 KB
testcase_20 AC 78 ms
6,848 KB
testcase_21 AC 126 ms
6,860 KB
testcase_22 AC 87 ms
6,868 KB
testcase_23 AC 68 ms
6,848 KB
testcase_24 AC 193 ms
6,860 KB
testcase_25 AC 78 ms
6,928 KB
testcase_26 AC 105 ms
7,004 KB
testcase_27 AC 90 ms
6,764 KB
testcase_28 AC 75 ms
6,940 KB
testcase_29 AC 6 ms
5,148 KB
testcase_30 AC 6 ms
5,152 KB
testcase_31 AC 6 ms
5,148 KB
testcase_32 AC 7 ms
5,320 KB
testcase_33 AC 6 ms
5,340 KB
testcase_34 AC 6 ms
5,184 KB
testcase_35 AC 6 ms
5,260 KB
testcase_36 AC 6 ms
5,408 KB
testcase_37 AC 6 ms
5,152 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