結果

問題 No.586 ダブルブッキング
コンテスト
ユーザー neko_the_shadow
提出日時 2018-06-23 00:32:38
言語 Bash
(Bash 5.2.37)
コンパイル:
true
実行:
/usr/bin/bash _filename_
結果
AC  
実行時間 4 ms / 2,000 ms
コード長 114 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 85 ms
コンパイル使用メモリ 7,972 KB
実行使用メモリ 7,844 KB
最終ジャッジ日時 2026-03-21 03:03:51
合計ジャッジ時間 884 ms
ジャッジサーバーID
(参考情報)
judge1_1 / judge3_1
外部呼び出し有り
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 5
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

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