結果

問題 No.219 巨大数の概算
ユーザー tailstails
提出日時 2015-05-29 22:43:42
言語 Perl
(5.38.2)
結果
AC  
実行時間 104 ms / 1,500 ms
コード長 188 bytes
コンパイル時間 38 ms
コンパイル使用メモリ 5,212 KB
実行使用メモリ 4,952 KB
最終ジャッジ日時 2023-09-25 13:36:16
合計ジャッジ時間 7,768 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 104 ms
4,648 KB
testcase_01 AC 101 ms
4,704 KB
testcase_02 AC 99 ms
4,764 KB
testcase_03 AC 101 ms
4,784 KB
testcase_04 AC 71 ms
4,952 KB
testcase_05 AC 2 ms
4,912 KB
testcase_06 AC 11 ms
4,808 KB
testcase_07 AC 2 ms
4,592 KB
testcase_08 AC 9 ms
4,892 KB
testcase_09 AC 3 ms
4,708 KB
testcase_10 AC 98 ms
4,644 KB
testcase_11 AC 99 ms
4,632 KB
testcase_12 AC 101 ms
4,880 KB
testcase_13 AC 99 ms
4,668 KB
testcase_14 AC 100 ms
4,936 KB
testcase_15 AC 102 ms
4,680 KB
testcase_16 AC 99 ms
4,628 KB
testcase_17 AC 98 ms
4,812 KB
testcase_18 AC 99 ms
4,644 KB
testcase_19 AC 100 ms
4,764 KB
testcase_20 AC 99 ms
4,684 KB
testcase_21 AC 99 ms
4,812 KB
testcase_22 AC 103 ms
4,892 KB
testcase_23 AC 98 ms
4,760 KB
testcase_24 AC 100 ms
4,780 KB
testcase_25 AC 101 ms
4,808 KB
testcase_26 AC 101 ms
4,948 KB
testcase_27 AC 99 ms
4,676 KB
testcase_28 AC 99 ms
4,896 KB
testcase_29 AC 99 ms
4,680 KB
testcase_30 AC 99 ms
4,804 KB
testcase_31 AC 99 ms
4,880 KB
testcase_32 AC 99 ms
4,700 KB
testcase_33 AC 100 ms
4,896 KB
testcase_34 AC 100 ms
4,700 KB
testcase_35 AC 100 ms
4,804 KB
testcase_36 AC 99 ms
4,704 KB
testcase_37 AC 98 ms
4,912 KB
testcase_38 AC 99 ms
4,644 KB
testcase_39 AC 100 ms
4,652 KB
testcase_40 AC 99 ms
4,812 KB
testcase_41 AC 99 ms
4,820 KB
testcase_42 AC 100 ms
4,652 KB
testcase_43 AC 101 ms
4,864 KB
testcase_44 AC 100 ms
4,868 KB
testcase_45 AC 100 ms
4,760 KB
testcase_46 AC 99 ms
4,884 KB
testcase_47 AC 100 ms
4,700 KB
testcase_48 AC 99 ms
4,892 KB
testcase_49 AC 99 ms
4,928 KB
testcase_50 AC 100 ms
4,932 KB
testcase_51 AC 3 ms
4,828 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

for(1..<>){
    ($a,$b)=<>=~/\d+/g;
    $v=$b*log($a)/log(10);
    $v-=$z=$v|0;
    $x=100;
    while(log($x/10)/log(10)>$v){
	--$x;
    }
    $y=$x%10;$x=$x/10|0;
    print"$x $y $z\n";
}
0