Submission
| Id | When | Author | Problem | Language | CPU | Memory | Verdict |
|---|---|---|---|---|---|---|---|
| 19377 | 2024-04-24 16:21:25 | ewu_intra24u_50 | Max Number |
|
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.cpp
#include<iostream> using namespace std; int main() { int a[2],n,max1,m; cin >> n; cin >> m; for(int i=1;i<=n;i++) { max1 = a[0]; for(int j=0;j<3;i++) { cin >> a[i]; if(a[i]>max1) { max1 = a[i]; } } }