Submission #229960

#TimeUsernameProblemLanguageResultExecution timeMemory
229960DodgeBallManTreasure (different grader from official contest) (CEOI13_treasure2)C++14
Compilation error
0 ms0 KiB
#include "treasure.h" #include <bits/stdc++.h> using namespace std; const int N = 110; int pref[์์N][N]; void findTreasure( int n ) { int m = n >> 1; for( int i = n ; i > 0 ; i-- ) for( int j = n ; j > 0 ; --j ) { if( i > m && j > m ) pref[i][j] = countTreasure( 1, 1, i, j ); if( i <= m && j > m ) pref[i][j] = pref[n][j] - countTreasure( i+1, 1, n, j ); if( i > m && j <= m ) pref[i][j] = pref[i][n] - countTreasure( 1, j+1, i, n ); if( i <= m && j <= m ) pref[i][j] = pref[n][j] + pref[i][n] - pref[n][n] + countTreasure( i+1, j+1, n, n ); } for( int i = 1 ; i <= n ; i++ ) for( int j = 1 ; j <= n ; j++ ) if( pref[i][j] - pref[i-1][j] - pref[i][j-1] + pref[i-1][j-1] ) Report( i, j ); }

Compilation message (stderr)

treasure.cpp:6:10: error: stray '\340' in program
 int pref[์์N][N];
          ^
treasure.cpp:6:11: error: stray '\271' in program
 int pref[์์N][N];
           ^
treasure.cpp:6:12: error: stray '\214' in program
 int pref[์์N][N];
            ^
treasure.cpp:6:13: error: stray '\340' in program
 int pref[์์N][N];
             ^
treasure.cpp:6:14: error: stray '\271' in program
 int pref[์์N][N];
              ^
treasure.cpp:6:15: error: stray '\214' in program
 int pref[์์N][N];
               ^