結果

問題 No.344 ある無理数の累乗
ユーザー takashi2001pctakashi2001pc
提出日時 2016-02-13 02:59:38
言語 Perl
(5.38.2)
結果
TLE  
実行時間 -
コード長 172 bytes
コンパイル時間 636 ms
コンパイル使用メモリ 17,280 KB
実行使用メモリ 22,280 KB
最終ジャッジ日時 2023-10-22 04:53:13
合計ジャッジ時間 9,866 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 94 ms
21,612 KB
testcase_01 AC 92 ms
17,268 KB
testcase_02 AC 93 ms
17,268 KB
testcase_03 AC 94 ms
17,272 KB
testcase_04 AC 94 ms
17,284 KB
testcase_05 AC 96 ms
17,280 KB
testcase_06 AC 98 ms
17,284 KB
testcase_07 AC 100 ms
17,268 KB
testcase_08 AC 100 ms
17,284 KB
testcase_09 AC 103 ms
17,300 KB
testcase_10 AC 105 ms
17,320 KB
testcase_11 AC 109 ms
17,316 KB
testcase_12 AC 110 ms
17,328 KB
testcase_13 AC 167 ms
17,496 KB
testcase_14 AC 376 ms
17,852 KB
testcase_15 AC 719 ms
18,140 KB
testcase_16 AC 1,216 ms
18,440 KB
testcase_17 AC 1,933 ms
18,780 KB
testcase_18 TLE -
testcase_19 -- -
testcase_20 -- -
testcase_21 -- -
testcase_22 -- -
testcase_23 -- -
testcase_24 -- -
testcase_25 -- -
testcase_26 -- -
testcase_27 -- -
testcase_28 -- -
testcase_29 -- -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Subroutine main::inf redefined at Main.pl line 3.
Subroutine main::NaN redefined at Main.pl line 3.
Main.pl syntax OK

ソースコード

diff #

use utf8;
use bignum(p => -383);
use bigint;
use Encode qw/encode decode decode_utf8 encode_utf8 from_to/;

my $i = <STDIN>;
	print int( ( (1 + sqrt(3)) ** $i ) % 1000 );

0