- 练15.3 最大的数
1
- 2025-3-15 11:22:51 @
#include <bits/stdc++.h>
using namespace std;
int main() {
double a[6];
for(int i=0;i<4;i++){
cin>>a[i];
}
double maxx=0;
for(int i=0;i<4;i++){
if(a[i]>maxx){
maxx=a[i];
}
}
cout<<maxx;
return 0;
}
0 comments
No comments so far...
Information
- ID
- 465
- Time
- 1000ms
- Memory
- 256MiB
- Difficulty
- 6
- Tags
- # Submissions
- 78
- Accepted
- 26
- Uploaded By