結果
| 問題 |
No.394 ハーフパイプ(1)
|
| コンテスト | |
| ユーザー |
iwltwm
|
| 提出日時 | 2018-01-27 20:27:40 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 224 bytes |
| コンパイル時間 | 211 ms |
| コンパイル使用メモリ | 31,488 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-12-29 07:05:06 |
| 合計ジャッジ時間 | 737 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 11 |
ソースコード
#include <cstdio>
using namespace std;
int main(void){
int s,i,min=100,max=0,sum=0;
for(i=0;i<6;i++){
scanf("%d",&s);
if(s>=max) max=s;
if(s<=min) min=s;
sum+=s;
}
printf("%6.2lf",((double)(sum-(min+max)))/4 );
}
iwltwm