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_22229995_28609.cpp: In function 'int main()':
0_0_22229995_28609.cpp:13:15: error: 'T' was not declared in this scope
  scanf("%d", &T);
               ^
0_0_22229995_28609.cpp:15:18: error: 'n' was not declared in this scope
   scanf("%d%d", &n, &m);
                  ^
0_0_22229995_28609.cpp:15:22: error: 'm' was not declared in this scope
   scanf("%d%d", &n, &m);
                      ^
0_0_22229995_28609.cpp:17:16: error: 's' was not declared in this scope
    scanf("%s", s[i]+1);
                ^
0_0_22229995_28609.cpp:20:6: error: 'sx' was not declared in this scope
      sx = i, sy = j;
      ^
0_0_22229995_28609.cpp:20:14: error: 'sy' was not declared in this scope
      sx = i, sy = j;
              ^
0_0_22229995_28609.cpp:23:21: error: 'sy' was not declared in this scope
   if (m % 2 == 1 && sy % 2 == 1) mm++;
                     ^
0_0_22229995_28609.cpp:25:16: error: 'sy' was not declared in this scope
   if (m % 2 != sy % 2) vv--;
                ^
0_0_22229995_28609.cpp:40:20: error: 'sx' was not declared in this scope
       if (i % 2 != sx % 2) {
                    ^
0_0_22229995_28609.cpp:41:45: error: expected ')' before '{' token
        if ((i > 1 && (1 << (j-1)) & y == 0) {
                                             ^
0_0_22229995_28609.cpp:56:7: error: expected primary-expression before '}' token
       } else {
       ^
0_0_22229995_28609.cpp:57:45: error: expected ')' before '{' token
        if ((i > 1 && (1 << (j-1)) & y == 0) {
                                             ^
0_0_22229995_28609.cpp:69:7: error: expected primary-expression before '}' token
       }
       ^


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-27 03:42:26, Gzip enabled