結果

問題 No.40 多項式の割り算
ユーザー %20%20
提出日時 2017-01-24 15:46:15
言語 Perl
(5.38.2)
結果
AC  
実行時間 24 ms / 5,000 ms
コード長 95 bytes
コンパイル時間 159 ms
コンパイル使用メモリ 5,376 KB
実行使用メモリ 7,600 KB
最終ジャッジ日時 2023-08-24 21:46:10
合計ジャッジ時間 1,718 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 6 ms
5,132 KB
testcase_01 AC 6 ms
5,220 KB
testcase_02 AC 6 ms
5,268 KB
testcase_03 AC 5 ms
5,272 KB
testcase_04 AC 17 ms
6,388 KB
testcase_05 AC 20 ms
6,956 KB
testcase_06 AC 24 ms
7,600 KB
testcase_07 AC 24 ms
7,560 KB
testcase_08 AC 6 ms
5,072 KB
testcase_09 AC 18 ms
6,696 KB
testcase_10 AC 22 ms
7,220 KB
testcase_11 AC 16 ms
6,280 KB
testcase_12 AC 12 ms
5,864 KB
testcase_13 AC 22 ms
7,208 KB
testcase_14 AC 16 ms
6,420 KB
testcase_15 AC 16 ms
6,456 KB
testcase_16 AC 22 ms
7,508 KB
testcase_17 AC 10 ms
5,648 KB
testcase_18 AC 21 ms
7,088 KB
testcase_19 AC 24 ms
7,552 KB
testcase_20 AC 14 ms
6,236 KB
testcase_21 AC 9 ms
5,660 KB
testcase_22 AC 9 ms
5,524 KB
testcase_23 AC 13 ms
6,144 KB
testcase_24 AC 19 ms
6,824 KB
testcase_25 AC 6 ms
5,040 KB
testcase_26 AC 5 ms
5,272 KB
testcase_27 AC 6 ms
5,312 KB
testcase_28 AC 6 ms
5,104 KB
testcase_29 AC 6 ms
5,208 KB
testcase_30 AC 6 ms
5,320 KB
testcase_31 AC 6 ms
5,264 KB
testcase_32 AC 6 ms
5,080 KB
testcase_33 AC 6 ms
5,132 KB
testcase_34 AC 6 ms
5,264 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

<>;@a=glob<>;
$a[$_-2]+=pop@a for sort{1}3..$#a;
$a[-1]or pop@a,$a[-1]or pop@a;
print"$#a\n@a"
0