Submission
Id | When | Author | Problem | Language | CPU | Memory | Verdict |
---|---|---|---|---|---|---|---|
16971 | 2024-04-23 17:08:52 | ewu_intra24_mock_u_14 | Max Number | C++ 17 | 3 ms | 3400 kb | Accepted |
Test Cases
CPU | Memory | Verdict | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
1 | 1 ms | 3336 kb | Accepted | ||||||||
2 | 1 ms | 3332 kb | Accepted | ||||||||
3 | 1 ms | 3260 kb | Accepted | ||||||||
4 | 1 ms | 3400 kb | Accepted | ||||||||
5 | 1 ms | 3340 kb | Accepted | ||||||||
6 | 1 ms | 3336 kb | Accepted | ||||||||
7 | 3 ms | 3400 kb | Accepted | ||||||||
Source Code
program.cpp
#include<bits/stdc++.h> #define RAFI ios_base::sync_with_stdio(false); cin.tie(NULL); #define dbg(x) cout << #x << " " << x using namespace std; void solve(){ int a,b,c; cin >> a >> b >> c; int m = max({a,b,c}); cout << m << endl; } int main() { RAFI; int n; cin >> n; while(n--) { solve(); } return 0; }