Loading...
Submission
# When Author Problem Language CPU Memory
19811 2024-05-05 13:05:29 Tanzim411 Max Number C++ 17 1 ms 3368 kb Accepted
Test Cases
# CPU Memory Points
1 1 ms 3368 kb 1 Accepted
2 1 ms 3272 kb 1 Accepted
3 1 ms 3316 kb 1 Accepted
4 1 ms 3264 kb 1 Accepted
5 1 ms 3272 kb 1 Accepted
6 1 ms 3280 kb 1 Accepted
7 1 ms 3300 kb 1 Accepted
Source Code
  1. #include<bits/stdc++.h>
  2. using namespace std;
  3. typedef long long ll;
  4. const ll N = 200005;
  5. const ll mod = 1e9 + 7;
  6.  
  7. int main(void)
  8. {
  9. ios_base::sync_with_stdio(false);
  10. cin.tie(NULL);
  11. cout.tie(NULL);
  12. int t = 1;
  13. cin >> t;
  14. for(int z=1; z<=t; z++)
  15. {
  16. // cout << "Case " << z << ": ";
  17.  
  18. ll a,b,c;
  19. cin >> a >> b >> c;
  20. cout << max(a,max(b,c)) << "\n";
  21.  
  22. }
  23. return 0;
  24. }