Submission
Id | When | Author | Problem | Language | CPU | Memory | Verdict |
---|---|---|---|---|---|---|---|
17947 | 2024-04-24 13:31:35 | ewu_intra24u_69 | Max Number | Java | 139 ms | 44132 kb | Wrong Answer - 7 |
Test Cases
CPU | Memory | Verdict | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
1 | 133 ms | 40632 kb | Accepted | ||||||||
2 | 137 ms | 42340 kb | Accepted | ||||||||
3 | 136 ms | 40584 kb | Accepted | ||||||||
4 | 138 ms | 40780 kb | Accepted | ||||||||
5 | 135 ms | 40564 kb | Accepted | ||||||||
6 | 134 ms | 40688 kb | Accepted | ||||||||
7 | 139 ms | 44132 kb | Wrong Answer | ||||||||
Source Code
program.java
import java.util.*; public class Imam { int t=sc.nextInt(); int[] arr=new int[3]; int max,l=arr.length; for(int j=0;j<l;j++){ arr[j]=sc.nextInt(); } max=arr[0]; for(int i=1;i<l;i++){ if(max<arr[i]){ max=arr[i]; } } } }