Submission #362682

# Submission time Handle Problem Language Result Execution time Memory
362682 2021-02-04T05:46:54 Z nighthallo Treasure (different grader from official contest) (CEOI13_treasure2) C++14
0 / 100
1 ms 364 KB
#include "treasure.h"

void findTreasure (int N) {
    int arr[101][101];

    for(int i = 1 ; i <= N ; i++){
        for(int j = 1 ; j <= N ; j++){
            if(countTreasure(i, j, i, j)){
                Report(i, j);
            }
        }
    }
}

Compilation message

treasure.cpp: In function 'void findTreasure(int)':
treasure.cpp:4:9: warning: unused variable 'arr' [-Wunused-variable]
    4 |     int arr[101][101];
      |         ^~~
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 364 KB Error - you cannot call countTreasure() after calling Report()
2 Incorrect 0 ms 364 KB Error - you cannot call countTreasure() after calling Report()
3 Incorrect 0 ms 364 KB Error - you cannot call countTreasure() after calling Report()
4 Incorrect 0 ms 364 KB Error - you cannot call countTreasure() after calling Report()
5 Incorrect 0 ms 364 KB Error - you cannot call countTreasure() after calling Report()
6 Incorrect 1 ms 364 KB Error - you cannot call countTreasure() after calling Report()
7 Incorrect 1 ms 364 KB Error - you cannot call countTreasure() after calling Report()
8 Incorrect 1 ms 364 KB Error - you cannot call countTreasure() after calling Report()
9 Incorrect 1 ms 364 KB Error - you cannot call countTreasure() after calling Report()
10 Incorrect 1 ms 364 KB Error - you cannot call countTreasure() after calling Report()