結果

問題 No.1619 Coccinellidae
ユーザー tailstails
提出日時 2022-11-17 11:59:35
言語 Perl
(5.38.2)
結果
AC  
実行時間 54 ms / 2,000 ms
コード長 113 bytes
コンパイル時間 647 ms
コンパイル使用メモリ 6,144 KB
実行使用メモリ 10,056 KB
最終ジャッジ日時 2023-10-19 04:35:40
合計ジャッジ時間 2,720 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 7 ms
6,144 KB
testcase_01 AC 44 ms
9,156 KB
testcase_02 AC 52 ms
10,012 KB
testcase_03 AC 8 ms
6,144 KB
testcase_04 AC 54 ms
10,056 KB
testcase_05 AC 32 ms
8,444 KB
testcase_06 AC 8 ms
6,140 KB
testcase_07 AC 36 ms
8,488 KB
testcase_08 AC 33 ms
8,340 KB
testcase_09 AC 8 ms
6,136 KB
testcase_10 AC 32 ms
8,100 KB
testcase_11 AC 39 ms
8,884 KB
testcase_12 AC 8 ms
6,140 KB
testcase_13 AC 53 ms
9,880 KB
testcase_14 AC 50 ms
10,052 KB
testcase_15 AC 8 ms
6,136 KB
testcase_16 AC 7 ms
6,136 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

($n,$m,$k)=glob<>;$a=--$n;$k-=$a--while$k>$a;print$n-abs()?abs:$m-$n*($n-1)/2,$/for-$n..-$a-1,$k,0..$k-1,$k+1..$a
0