KOGU @ 2024-04-15 17:48:06
#include <bits/stdc++.h>
using namespace std;
int n,b,m;
double a[301],t,f=21473647.0,ans;
int main(){
cin>>n;
for(int i=1;i<=n;i++){
cin>>a[i];
if(t<a[i]){
b=i;
t=a[i];
}
else if(f>a[i]){
m=i;
f=a[i];
}
}
a[m]=0;
a[b]=0;
for(int i=1;i<=n;i++){
ans=ans;
}
return 0;
}
by Bingxiu @ 2024-04-15 18:03:14
@KOGU what is 'mater'
by Bingxiu @ 2024-04-15 18:03:43
@KOGU 《
by Turtle_Coffee @ 2024-04-19 22:21:13
this is very easy,do this and do that,and you can pass this problem:)
by Turtle_Coffee @ 2024-04-19 22:21:49
@KUGO
by Turtle_Coffee @ 2024-04-19 22:22:09
@KOGU
by KOGU @ 2024-05-10 12:40:28