結果

問題 No.40 多項式の割り算
ユーザー %20%20
提出日時 2017-01-24 15:44:04
言語 Perl
(5.38.2)
結果
AC  
実行時間 24 ms / 5,000 ms
コード長 100 bytes
コンパイル時間 334 ms
コンパイル使用メモリ 7,120 KB
実行使用メモリ 7,684 KB
最終ジャッジ日時 2023-08-24 21:45:54
合計ジャッジ時間 2,127 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 6 ms
5,264 KB
testcase_01 AC 7 ms
5,192 KB
testcase_02 AC 6 ms
5,156 KB
testcase_03 AC 6 ms
5,276 KB
testcase_04 AC 17 ms
6,452 KB
testcase_05 AC 19 ms
6,940 KB
testcase_06 AC 23 ms
7,684 KB
testcase_07 AC 24 ms
7,584 KB
testcase_08 AC 7 ms
5,376 KB
testcase_09 AC 17 ms
6,812 KB
testcase_10 AC 22 ms
7,488 KB
testcase_11 AC 15 ms
6,516 KB
testcase_12 AC 12 ms
5,904 KB
testcase_13 AC 22 ms
7,372 KB
testcase_14 AC 16 ms
6,584 KB
testcase_15 AC 16 ms
6,392 KB
testcase_16 AC 22 ms
7,272 KB
testcase_17 AC 10 ms
5,752 KB
testcase_18 AC 21 ms
7,136 KB
testcase_19 AC 24 ms
7,608 KB
testcase_20 AC 14 ms
6,164 KB
testcase_21 AC 9 ms
5,588 KB
testcase_22 AC 9 ms
5,548 KB
testcase_23 AC 14 ms
6,368 KB
testcase_24 AC 19 ms
7,052 KB
testcase_25 AC 6 ms
5,088 KB
testcase_26 AC 6 ms
5,332 KB
testcase_27 AC 6 ms
5,152 KB
testcase_28 AC 6 ms
5,084 KB
testcase_29 AC 6 ms
5,288 KB
testcase_30 AC 6 ms
5,152 KB
testcase_31 AC 6 ms
5,336 KB
testcase_32 AC 6 ms
5,212 KB
testcase_33 AC 6 ms
5,280 KB
testcase_34 AC 6 ms
5,256 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

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