結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 93 ms
17,140 KB
testcase_01 WA -
testcase_02 AC 95 ms
17,148 KB
testcase_03 AC 94 ms
17,148 KB
testcase_04 WA -
testcase_05 AC 97 ms
17,148 KB
testcase_06 WA -
testcase_07 AC 100 ms
17,164 KB
testcase_08 WA -
testcase_09 AC 103 ms
17,172 KB
testcase_10 WA -
testcase_11 AC 109 ms
17,200 KB
testcase_12 WA -
testcase_13 AC 167 ms
17,376 KB
testcase_14 WA -
testcase_15 AC 726 ms
18,016 KB
testcase_16 WA -
testcase_17 AC 1,938 ms
18,656 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