結果
| 問題 | No.394 ハーフパイプ(1) |
| コンテスト | |
| ユーザー |
kongarishisyamo
|
| 提出日時 | 2016-08-09 03:14:04 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 241 bytes |
| コンパイル時間 | 462 ms |
| コンパイル使用メモリ | 58,912 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-11-07 07:36:26 |
| 合計ジャッジ時間 | 1,168 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 11 |
ソースコード
#include<iostream>
#include<cstdio>
#include<algorithm>
using namespace std;
int main(){
int S[6];
for(int i=0;i<6;i++) cin>>S[i];
sort(S,S+6);
int sum=0;
for(int i=1;i<5;i++){
sum+=S[i];
}
printf("%.2f\n",(double)sum/4);
}
kongarishisyamo