結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 85 ms
17,076 KB
testcase_01 AC 83 ms
17,072 KB
testcase_02 AC 80 ms
17,080 KB
testcase_03 AC 81 ms
17,088 KB
testcase_04 AC 88 ms
17,080 KB
testcase_05 AC 94 ms
17,092 KB
testcase_06 AC 92 ms
17,096 KB
testcase_07 AC 92 ms
17,092 KB
testcase_08 AC 88 ms
17,112 KB
testcase_09 AC 90 ms
17,120 KB
testcase_10 AC 95 ms
17,124 KB
testcase_11 AC 98 ms
17,140 KB
testcase_12 AC 98 ms
17,152 KB
testcase_13 AC 156 ms
17,344 KB
testcase_14 AC 395 ms
17,708 KB
testcase_15 AC 749 ms
18,064 KB
testcase_16 AC 1,271 ms
18,364 KB
testcase_17 TLE -
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 -- -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

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

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