F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_39022824_13535.cpp: In function 'int main()':
0_0_39022824_13535.cpp:18:35: error: 'Ax' was not declared in this scope; did you mean 'x'?
   18 | if (((st >> j) & 1) && s[i][j] == Ax |= (1 << j);
      |                                   ^~
      |                                   x
0_0_39022824_13535.cpp:19:1: error: expected primary-expression before '}' token
   19 | }
      | ^
0_0_39022824_13535.cpp:18:50: error: expected ')' before '}' token
   18 | if (((st >> j) & 1) && s[i][j] == Ax |= (1 << j);
      |    ~                                             ^
      |                                                  )
   19 | }
      | ~                                                 
0_0_39022824_13535.cpp:19:1: error: expected primary-expression before '}' token
   19 | }
      | ^
0_0_39022824_13535.cpp:21:5: error: 'x' was not declared in this scope
   21 | cnt[x]++;
      |     ^
0_0_39022824_13535.cpp:31:21: error: 'tt' was not declared in this scope; did you mean 'tm'?
   31 | cout << "Case #" << tt << ": " << ans << endl;
      |                     ^~
      |                     tm
0_0_39022824_13535.cpp:31:35: error: 'ans' was not declared in this scope; did you mean 'abs'?
   31 | cout << "Case #" << tt << ": " << ans << endl;
      |                                   ^~~
      |                                   abs
0_0_39022824_13535.cpp: At global scope:
0_0_39022824_13535.cpp:33:1: error: expected declaration before '}' token
   33 | }
      | ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-22 22:47:56, Gzip enabled