結果
| 問題 |
No.394 ハーフパイプ(1)
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2016-11-19 16:34:44 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 316 bytes |
| コンパイル時間 | 1,420 ms |
| コンパイル使用メモリ | 170,764 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-11-26 21:58:27 |
| 合計ジャッジ時間 | 2,069 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 1 WA * 10 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
signed main(){
vector< int > scr( 6 );
for( int i = 0; i < 6; ++i )
cin >> scr[ i ];
sort( scr.begin(), scr.end() );
double ans = 0.0;
for( int i = 1; i < 5; ++i )
ans += scr[ i ];
cout << fixed << setprecision( 2 ) << ans / 5 << endl;
return 0;
}