Submission
Id | When | Author | Problem | Language | CPU | Memory | Verdict |
---|---|---|---|---|---|---|---|
16990 | 2024-04-23 17:19:48 | ewu_intra24_mock_u_13 | Max Number | C++ 17 | 4 ms | 3412 kb | Accepted |
Test Cases
CPU | Memory | Verdict | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
1 | 1 ms | 3312 kb | Accepted | ||||||||
2 | 1 ms | 3252 kb | Accepted | ||||||||
3 | 1 ms | 3344 kb | Accepted | ||||||||
4 | 1 ms | 3368 kb | Accepted | ||||||||
5 | 1 ms | 3324 kb | Accepted | ||||||||
6 | 1 ms | 3412 kb | Accepted | ||||||||
7 | 4 ms | 3372 kb | Accepted | ||||||||
Source Code
program.cpp
#include<bits/stdc++.h> using namespace std; int main (){ int t; cin>>t; int arr[3]; while(t--){ int m=INT_MIN; for(int j=0;j<3;j++){ cin >>arr[j]; if(arr[j]>m) m=arr[j]; } cout<<m<<endl; } return 0; }