結果

問題 No.586 ダブルブッキング
ユーザー neko_the_shadow
提出日時 2018-06-23 00:32:38
言語 Bash
(Bash 5.2.21)
結果
AC  
実行時間 5 ms / 2,000 ms
コード長 114 bytes
コンパイル時間 76 ms
コンパイル使用メモリ 6,944 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-06-30 18:11:58
合計ジャッジ時間 622 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
外部呼び出し有り
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 5
権限があれば一括ダウンロードができます

ソースコード

diff #

read p1; read p2; read n; sort | uniq -c | awk -v p="$((p1+p2))" 'BEGIN{sum=0} $1>1{sum+=$1-1} END{print sum * p}'
0