Submission
Id | When | Author | Problem | Language | CPU | Memory | Verdict |
---|---|---|---|---|---|---|---|
16979 | 2024-04-23 17:13:00 | ewu_intra24_mock_u_131 | Max Number | C++ 17 | 0 ms | 0 kb | Compilation Error |
Test Cases
CPU | Memory | Verdict | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
1 | 0 ms | 0 kb | Compilation Error | ||||||||
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 n; cin>>n; int arr[3]; for(int i=1;i<=n;i++){ 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; }