Loading...
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
Download
  1. #include<bits/stdc++.h>
  2. #define RAFI ios_base::sync_with_stdio(false); cin.tie(NULL);
  3. #define dbg(x) cout << #x << " " << x
  4. using namespace std;
  5.  
  6. void solve(){
  7. int a,b,c;
  8. cin >> a >> b >> c;
  9. int m = max({a,b,c});
  10. cout << m << endl;
  11. }
  12. int main()
  13. {
  14. RAFI;
  15. int n;
  16. cin >> n;
  17. while(n--)
  18. {
  19. solve();
  20. }
  21. return 0;
  22. }
  23.