답안 #1107843

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
1107843 2024-11-02T07:39:55 Z coolboy19521 축구 경기장 (IOI23_soccer) C++17
1.5 / 100
206 ms 39696 KB
#include "soccer.h"

int biggest_stadium(int N, std::vector<std::vector<int>> F)
{
    bool f = true;
    int c = 0;
    for (int i = 0; i < N; i ++) {
        for (int j = 0; j < N; j ++) {
            if (F[i][j] == 1) {
                if ((0 < i && i < N - 1) || (0 < j && j < N - 1)) {
                    f = false;
                }
            } else {
                c ++;
            }
        }
    }
    if (f) {
        return c;
    }
    return 0;
}
# 결과 실행 시간 메모리 Grader output
1 Partially correct 1 ms 336 KB partial
# 결과 실행 시간 메모리 Grader output
1 Correct 1 ms 336 KB ok
2 Correct 1 ms 336 KB ok
3 Correct 1 ms 336 KB ok
4 Correct 1 ms 336 KB ok
5 Correct 1 ms 336 KB ok
6 Partially correct 0 ms 336 KB partial
7 Partially correct 2 ms 336 KB partial
8 Partially correct 13 ms 2896 KB partial
9 Partially correct 206 ms 39696 KB partial
# 결과 실행 시간 메모리 Grader output
1 Correct 1 ms 336 KB ok
2 Correct 1 ms 336 KB ok
3 Partially correct 1 ms 336 KB partial
4 Partially correct 1 ms 336 KB partial
5 Partially correct 1 ms 336 KB partial
6 Partially correct 0 ms 336 KB partial
7 Incorrect 1 ms 336 KB wrong
8 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Partially correct 1 ms 336 KB partial
2 Correct 1 ms 336 KB ok
3 Correct 1 ms 336 KB ok
4 Partially correct 1 ms 336 KB partial
5 Partially correct 1 ms 336 KB partial
6 Partially correct 1 ms 336 KB partial
7 Partially correct 0 ms 336 KB partial
8 Incorrect 1 ms 336 KB wrong
9 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Partially correct 1 ms 336 KB partial
2 Correct 1 ms 336 KB ok
3 Correct 1 ms 336 KB ok
4 Correct 1 ms 336 KB ok
5 Correct 1 ms 336 KB ok
6 Partially correct 1 ms 336 KB partial
7 Partially correct 1 ms 336 KB partial
8 Partially correct 1 ms 336 KB partial
9 Partially correct 0 ms 336 KB partial
10 Incorrect 1 ms 336 KB wrong
11 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Partially correct 1 ms 336 KB partial
2 Correct 1 ms 336 KB ok
3 Correct 1 ms 336 KB ok
4 Correct 1 ms 336 KB ok
5 Correct 1 ms 336 KB ok
6 Partially correct 1 ms 336 KB partial
7 Partially correct 1 ms 336 KB partial
8 Partially correct 1 ms 336 KB partial
9 Partially correct 0 ms 336 KB partial
10 Incorrect 1 ms 336 KB wrong
11 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Partially correct 1 ms 336 KB partial
2 Correct 1 ms 336 KB ok
3 Correct 1 ms 336 KB ok
4 Correct 1 ms 336 KB ok
5 Correct 1 ms 336 KB ok
6 Correct 1 ms 336 KB ok
7 Partially correct 0 ms 336 KB partial
8 Partially correct 2 ms 336 KB partial
9 Partially correct 13 ms 2896 KB partial
10 Partially correct 206 ms 39696 KB partial
11 Partially correct 1 ms 336 KB partial
12 Partially correct 1 ms 336 KB partial
13 Partially correct 1 ms 336 KB partial
14 Partially correct 0 ms 336 KB partial
15 Incorrect 1 ms 336 KB wrong
16 Halted 0 ms 0 KB -