Submission
Id | When | Author | Problem | Language | CPU | Memory | Verdict |
---|---|---|---|---|---|---|---|
18030 | 2024-04-24 13:43:49 | ewu_intra24u_48 | Max Number | C++ 17 | 1 ms | 3324 kb | Wrong Answer - 1 |
Test Cases
CPU | Memory | Verdict | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
1 | 1 ms | 3324 kb | Wrong Answer | ||||||||
2 | - | - | Skipped | ||||||||
3 | - | - | Skipped | ||||||||
4 | - | - | Skipped | ||||||||
5 | - | - | Skipped | ||||||||
6 | - | - | Skipped | ||||||||
7 | - | - | Skipped | ||||||||
Source Code
program.cpp
#include<bits/stdc++.h> using namespace std; int main() { int t; cin>>t; while(t--) { int arr[3]; int maxx=arr[0]; for(int i=0;i<3;i++) { cin>>arr[i]; } for(int i=0;i<3;i++) { if(arr[i]>maxx) { maxx=arr[i]; } } cout<<maxx<<endl; } return 0; }