QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#872501 | #9226. Game of Geniuses | Boyuridod | WA | 0ms | 3584kb | C++20 | 404b | 2025-01-26 02:08:54 | 2025-01-26 02:08:56 |
Judging History
answer
#include <bits/stdc++.h>
using namespace std;
#define int long long
#define INF 999999999
int32_t main(){
int N = 0, i = 0, j = 0, mint = 0;
cin >> N;
int x;
int mi, resp=INF;
for(i = 0; i < N; i++){
mi=INF;
for(j = 0; j < N; j++){
cin >> x;
mi=min(x,mi);
}
resp=max(mi,resp);
}
cout<<resp<<"\n";
return 0;
}
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 0
Wrong Answer
time: 0ms
memory: 3584kb
input:
3 1 4 9 8 4 2 7 5 7
output:
999999999
result:
wrong answer 1st numbers differ - expected: '5', found: '999999999'