QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#176066#5444. Tavern Chessqsceszthn#Compile Error//C++142.3kb2023-09-11 09:30:192023-09-11 09:30:19

Details

answer.code: In function ‘bool check(long double)’:
answer.code:13:9: error: ‘i’ was not declared in this scope
   13 |     rep(i,0,n - 1){
      |         ^
answer.code:13:5: error: ‘rep’ was not declared in this scope; did you mean ‘res’?
   13 |     rep(i,0,n - 1){
      |     ^~~
      |     res
answer.code: In function ‘void dfs(int, long double)’:
answer.code:38:20: error: ‘INF’ was not declared in this scope
   38 |         int minn = INF, idx1;
      |                    ^~~
answer.code:39:13: error: ‘i’ was not declared in this scope
   39 |         rep(i, 0, n - 1){
      |             ^
answer.code:39:9: error: ‘rep’ was not declared in this scope; did you mean ‘res’?
   39 |         rep(i, 0, n - 1){
      |         ^~~
      |         res
answer.code:45:11: error: ‘idx1’ was not declared in this scope
   45 |         a[idx1].sum ++;
      |           ^~~~
answer.code:68:20: error: ‘INF’ was not declared in this scope
   68 |         int minn = INF, idx1;
      |                    ^~~
answer.code:69:13: error: ‘i’ was not declared in this scope
   69 |         rep(i, 0, m - 1){
      |             ^
answer.code:69:9: error: ‘rep’ was not declared in this scope; did you mean ‘res’?
   69 |         rep(i, 0, m - 1){
      |         ^~~
      |         res
answer.code:75:11: error: ‘idx1’ was not declared in this scope
   75 |         b[idx1].sum ++;
      |           ^~~~
answer.code: In function ‘void solve()’:
answer.code:99:5: error: ‘cin’ was not declared in this scope
   99 |     cin >> n >> m;
      |     ^~~
answer.code:100:9: error: ‘i’ was not declared in this scope
  100 |     rep(i,0,n - 1){
      |         ^
answer.code:100:5: error: ‘rep’ was not declared in this scope
  100 |     rep(i,0,n - 1){
      |     ^~~
answer.code:120:5: error: ‘cout’ was not declared in this scope
  120 |     cout << q << endl << w << endl << e << endl;
      |     ^~~~
answer.code:120:18: error: ‘endl’ was not declared in this scope
  120 |     cout << q << endl << w << endl << e << endl;
      |                  ^~~~