結果

問題 No.170 スワップ文字列(Easy)
ユーザー tailstails
提出日時 2015-03-22 23:38:23
言語 Perl
(5.38.2)
結果
AC  
実行時間 42 ms / 5,000 ms
コード長 90 bytes
コンパイル時間 520 ms
コンパイル使用メモリ 11,256 KB
実行使用メモリ 11,320 KB
最終ジャッジ日時 2023-08-24 16:06:04
合計ジャッジ時間 2,602 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 41 ms
11,084 KB
testcase_01 AC 41 ms
11,132 KB
testcase_02 AC 41 ms
11,204 KB
testcase_03 AC 41 ms
11,068 KB
testcase_04 AC 41 ms
11,216 KB
testcase_05 AC 41 ms
11,136 KB
testcase_06 AC 41 ms
11,084 KB
testcase_07 AC 41 ms
11,132 KB
testcase_08 AC 41 ms
11,132 KB
testcase_09 AC 41 ms
11,092 KB
testcase_10 AC 41 ms
11,084 KB
testcase_11 AC 42 ms
11,228 KB
testcase_12 AC 42 ms
11,044 KB
testcase_13 AC 41 ms
11,320 KB
testcase_14 AC 41 ms
11,068 KB
testcase_15 AC 42 ms
11,228 KB
testcase_16 AC 42 ms
11,188 KB
testcase_17 AC 42 ms
11,224 KB
testcase_18 AC 42 ms
11,320 KB
testcase_19 AC 42 ms
11,192 KB
testcase_20 AC 42 ms
11,132 KB
testcase_21 AC 41 ms
11,184 KB
testcase_22 AC 41 ms
11,128 KB
testcase_23 AC 42 ms
11,064 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

use bigint;
$_=<>;$n=bfac{$n=y///c-1};
$$_++for/./g;
$n/=(0+$$_)->bfac for A..Z;
print$n-1
0