Submission #362684

#TimeUsernameProblemLanguageResultExecution timeMemory
362684nighthalloTreasure (different grader from official contest) (CEOI13_treasure2)C++14
Compilation error
0 ms0 KiB
#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++){ arr[101][101] = countTreasure(i, j, i, j); } } for(int i = 1 ; i <= N ; i++){ for(int j = 1 ; j <= N ; j++){ if(arr[101][101]){ report(i, j); } } } }

Compilation message (stderr)

treasure.cpp: In function 'void findTreasure(int)':
treasure.cpp:14:17: error: 'report' was not declared in this scope; did you mean 'Report'?
   14 |                 report(i, j);
      |                 ^~~~~~
      |                 Report