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_25914638_1566.cpp: In function 'void solve()':
0_0_25914638_1566.cpp:7:25: error: 'i' was not declared in this scope
     if((n&1)&&(m&1))rep(i,0,n)rep(j,0,m)maze[i][j]='(';
                         ^
0_0_25914638_1566.cpp:7:30: error: 'rep' was not declared in this scope
     if((n&1)&&(m&1))rep(i,0,n)rep(j,0,m)maze[i][j]='(';
                              ^
0_0_25914638_1566.cpp:8:21: error: 'i' was not declared in this scope
     else if(n&1)rep(i,0,n)rep(j,0,m)maze[i][j]=(j%2==0?'(':')');
                     ^
0_0_25914638_1566.cpp:8:26: error: 'rep' was not declared in this scope
     else if(n&1)rep(i,0,n)rep(j,0,m)maze[i][j]=(j%2==0?'(':')');
                          ^
0_0_25914638_1566.cpp:9:21: error: 'i' was not declared in this scope
     else if(m&1)rep(i,0,n)rep(j,0,m)maze[i][j]=(i%2==0?'(':')');
                     ^
0_0_25914638_1566.cpp:9:26: error: 'rep' was not declared in this scope
     else if(m&1)rep(i,0,n)rep(j,0,m)maze[i][j]=(i%2==0?'(':')');
                          ^
0_0_25914638_1566.cpp:12:17: error: 'j' was not declared in this scope
             rep(j,0,m)maze[0][j]='(';
                 ^
0_0_25914638_1566.cpp:12:22: error: 'rep' was not declared in this scope
             rep(j,0,m)maze[0][j]='(';
                      ^
0_0_25914638_1566.cpp:14:17: error: 'i' was not declared in this scope
             rep(i,1,n-1)
                 ^
0_0_25914638_1566.cpp:18:17: error: 'i' was not declared in this scope
             rep(i,0,n)maze[i][0]='(';
                 ^
0_0_25914638_1566.cpp:18:22: error: 'rep' was not declared in this scope
             rep(i,0,n)maze[i][0]='(';
                      ^
0_0_25914638_1566.cpp:25:13: error: 'j' was not declared in this scope
         rep(j,0,m)maze[0][j]='(';
             ^
0_0_25914638_1566.cpp:25:18: error: 'rep' was not declared in this scope
         rep(j,0,m)maze[0][j]='(';
                  ^
0_0_25914638_1566.cpp:26:13: error: 'i' was not declared in this scope
         rep(i,1,n-1)maze[i][0]='(';
             ^
0_0_25914638_1566.cpp:32:9: error: 'i' was not declared in this scope
     rep(i,0,n)
         ^
0_0_25914638_1566.cpp:32:14: error: 'rep' was not declared in this scope
     rep(i,0,n)
              ^
0_0_25914638_1566.cpp: In function 'int main()':
0_0_25914638_1566.cpp:40:5: error: 'cin' was not declared in this scope
     cin>>T;
     ^


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-16 11:28:42, Gzip enabled