結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 92 ms
17,144 KB
testcase_01 WA -
testcase_02 AC 94 ms
17,132 KB
testcase_03 AC 94 ms
17,132 KB
testcase_04 WA -
testcase_05 AC 98 ms
17,152 KB
testcase_06 WA -
testcase_07 AC 100 ms
17,144 KB
testcase_08 WA -
testcase_09 AC 102 ms
17,180 KB
testcase_10 WA -
testcase_11 AC 108 ms
17,200 KB
testcase_12 WA -
testcase_13 AC 166 ms
17,380 KB
testcase_14 WA -
testcase_15 AC 716 ms
18,008 KB
testcase_16 WA -
testcase_17 AC 1,939 ms
18,668 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 => -383);
use Encode qw/encode decode decode_utf8 encode_utf8 from_to/;

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