Loading...
Submission
Id When Author Problem Language CPU Memory Verdict
17905 2024-04-24 05:17:30 ZubayearBinKhaled Max Number Java 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.java
Download
  1. import java.util.Scanner;
  2. import java.lang;
  3.  
  4. public class Test{
  5. public static void main (String[] args){
  6. int testcases;
  7. Scanner input = new Scanner(System.in);
  8. testCases = input.nextInt();
  9. System.out.println(testCases);
  10.  
  11. long a =input.nextInt();
  12. long b=input.nextInt();
  13. long c=input.nextInt();
  14.  
  15. if(a > b && a>c){
  16. System.out.print(a);
  17. }
  18. if(b>a && b>c){
  19. System.out.print(b);
  20. }
  21. if(c>a && c>b){
  22. System.out.print(c);
  23. }
  24. testCases--;
  25. }
  26.  
  27. }