結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 85 ms
17,148 KB
testcase_01 AC 78 ms
17,072 KB
testcase_02 AC 76 ms
17,084 KB
testcase_03 AC 78 ms
17,072 KB
testcase_04 AC 79 ms
17,080 KB
testcase_05 AC 80 ms
17,088 KB
testcase_06 AC 81 ms
17,076 KB
testcase_07 AC 79 ms
17,088 KB
testcase_08 AC 80 ms
17,084 KB
testcase_09 AC 83 ms
17,088 KB
testcase_10 AC 85 ms
17,088 KB
testcase_11 AC 83 ms
17,092 KB
testcase_12 AC 83 ms
17,076 KB
testcase_13 AC 101 ms
17,152 KB
testcase_14 AC 155 ms
17,348 KB
testcase_15 AC 260 ms
17,524 KB
testcase_16 AC 401 ms
17,692 KB
testcase_17 AC 607 ms
17,856 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 -- -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

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

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