QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#872501#9226. Game of GeniusesBoyuridodWA 0ms3584kbC++20404b2025-01-26 02:08:542025-01-26 02:08:56

Judging History

你现在查看的是最新测评结果

  • [2025-01-26 02:08:56]
  • 评测
  • 测评结果:WA
  • 用时:0ms
  • 内存:3584kb
  • [2025-01-26 02:08:54]
  • 提交

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'