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_20975875_22983.cpp:36:19: error: stray '#' in program
     for(int i=pos+1;i<player[0].size();i++)
                   ^
0_0_20975875_22983.cpp:36:46: error: stray '#' in program
     for(int i=pos+1;i<player[0].size();i++)
                                              ^
0_0_20975875_22983.cpp:36:51: error: stray '#' in program
     for(int i=pos+1;i<player[0].size();i++)
                                                   ^
0_0_20975875_22983.cpp:39:20: error: stray '#' in program
         dfs1(i,sum+1);
                    ^
0_0_20975875_22983.cpp:46:19: error: stray '#' in program
     for(int i=pos+1;i<player[1].size();i++)
                   ^
0_0_20975875_22983.cpp:46:46: error: stray '#' in program
     for(int i=pos+1;i<player[1].size();i++)
                                              ^
0_0_20975875_22983.cpp:46:51: error: stray '#' in program
     for(int i=pos+1;i<player[1].size();i++)
                                                   ^
0_0_20975875_22983.cpp:49:20: error: stray '#' in program
         dfs2(i,sum+1);
                    ^
0_0_20975875_22983.cpp:56:19: error: stray '#' in program
     for(int i=pos+1;i<player[2].size();i++)
                   ^
0_0_20975875_22983.cpp:56:46: error: stray '#' in program
     for(int i=pos+1;i<player[2].size();i++)
                                              ^
0_0_20975875_22983.cpp:56:51: error: stray '#' in program
     for(int i=pos+1;i<player[2].size();i++)
                                                   ^
0_0_20975875_22983.cpp:59:20: error: stray '#' in program
         dfs3(i,sum+1);
                    ^
0_0_20975875_22983.cpp:68:36: error: stray '#' in program
         for(int i=0;i<ans.size();i++)
                                    ^
0_0_20975875_22983.cpp:68:41: error: stray '#' in program
         for(int i=0;i<ans.size();i++)
                                         ^
0_0_20975875_22983.cpp:70:25: error: stray '#' in program
             for(int j=i+1;j<ans.size();j++)
                         ^
0_0_20975875_22983.cpp:70:46: error: stray '#' in program
             for(int j=i+1;j<ans.size();j++)
                                              ^
0_0_20975875_22983.cpp:70:51: error: stray '#' in program
             for(int j=i+1;j<ans.size();j++)
                                                   ^
0_0_20975875_22983.cpp:72:19: error: stray '#' in program
                 s+=maps[ans[i]][ans[j]];
                   ^
0_0_20975875_22983.cpp:74:15: error: stray '#' in program
             s+=power[ans[i]];
               ^
0_0_20975875_22983.cpp:79:19: error: stray '#' in program
     for(int i=pos+1;i<player[3].size();i++)
                   ^
0_0_20975875_22983.cpp:79:46: error: stray '#' in program
     for(int i=pos+1;i<player[3].size();i++)
                                              ^
0_0_20975875_22983.cpp:79:51: error: stray '#' in program
     for(int i=pos+1;i<player[3].size();i++)
                                                   ^
0_0_20975875_22983.cpp:82:20: error: stray '#' in program
         dfs4(i,sum+1);
                    ^
0_0_20975875_22983.cpp:98:27: error: stray '#' in program
         for(int i=0;i<4;i++) player[i].clear();
                           ^
0_0_20975875_22983.cpp:98:32: error: stray '#' in program
         for(int i=0;i<4;i++) player[i].clear();
                                ^
0_0_20975875_22983.cpp:105:29: error: stray '#' in program
         for(int i=2;i<=23;i++)
                             ^
0_0_20975875_22983.cpp:105:34: error: stray '#' in program
         for(int i=2;i<=23;i++)
                                  ^
0_0_20975875_22983.cpp:115:28: error: stray '#' in program
         for(int i=1;i<=n;i++)
                            ^
0_0_20975875_22983.cpp:115:33: error: stray '#' in program
         for(int i=1;i<=n;i++)
                                 ^
0_0_20975875_22983.cpp: In function 'void dfs1(int, int)':
0_0_20975875_22983.cpp:36:43: error: expected ')' before ';' token
     for(int i=pos+1;i<player[0].size();i++)
                                           ^
0_0_20975875_22983.cpp:36:44: error: 'i' was not declared in this scope
     for(int i=pos+1;i<player[0].size();i++)
                                            ^
0_0_20975875_22983.cpp:36:52: error: lvalue required as unary '&' operand
     for(int i=pos+1;i<player[0].size();i++)
                                                    ^
0_0_20975875_22983.cpp:36:55: error: expected primary-expression before ')' token
     for(int i=pos+1;i<player[0].size();i++)
                                                       ^
0_0_20975875_22983.cpp: In function 'void dfs2(int, int)':
0_0_20975875_22983.cpp:46:43: error: expected ')' before ';' token
     for(int i=pos+1;i<player[1].size();i++)
                                           ^
0_0_20975875_22983.cpp:46:44: error: 'i' was not declared in this scope
     for(int i=pos+1;i<player[1].size();i++)
                                            ^
0_0_20975875_22983.cpp:46:52: error: lvalue required as unary '&' operand
     for(int i=pos+1;i<player[1].size();i++)
                                                    ^
0_0_20975875_22983.cpp:46:55: error: expected primary-expression before ')' token
     for(int i=pos+1;i<player[1].size();i++)
                                                       ^
0_0_20975875_22983.cpp: In function 'void dfs3(int, int)':
0_0_20975875_22983.cpp:56:43: error: expected ')' before ';' token
     for(int i=pos+1;i<player[2].size();i++)
                                           ^
0_0_20975875_22983.cpp:56:44: error: 'i' was not declared in this scope
     for(int i=pos+1;i<player[2].size();i++)
                                            ^
0_0_20975875_22983.cpp:56:52: error: lvalue required as unary '&' operand
     for(int i=pos+1;i<player[2].size();i++)
                                                    ^
0_0_20975875_22983.cpp:56:55: error: expected primary-expression before ')' token
     for(int i=pos+1;i<player[2].size();i++)
                                                       ^
0_0_20975875_22983.cpp: In function 'void dfs4(int, int)':
0_0_20975875_22983.cpp:68:39: error: expected ')' before ';' token
         for(int i=0;i<ans.size();i++)
                                       ^
0_0_20975875_22983.cpp:68:42: error: lvalue required as unary '&' operand
         for(int i=0;i<ans.size();i++)
                                          ^
0_0_20975875_22983.cpp:68:45: error: expected primary-expression before ')' token
         for(int i=0;i<ans.size();i++)
                                             ^
0_0_20975875_22983.cpp:79:43: error: expected ')' before ';' token
     for(int i=pos+1;i<player[3].size();i++)
                                           ^
0_0_20975875_22983.cpp:79:44: error: 'i' was not declared in this scope
     for(int i=pos+1;i<player[3].size();i++)
                                            ^
0_0_20975875_22983.cpp:79:52: error: lvalue required as unary '&' operand
     for(int i=pos+1;i<player[3].size();i++)
                                                    ^
0_0_20975875_22983.cpp:79:55: error: expected primary-expression before ')' token
     for(int i=pos+1;i<player[3].size();i++)
                                                       ^
0_0_20975875_22983.cpp: In function 'int main()':
0_0_20975875_22983.cpp:98:30: error: expected ')' before ';' token
         for(int i=0;i<4;i++) player[i].clear();
                              ^
0_0_20975875_22983.cpp:98:33: error: lvalue required as unary '&' operand
         for(int i=0;i<4;i++) player[i].clear();
                                 ^
0_0_20975875_22983.cpp:98:36: error: expected primary-expression before ')' token
         for(int i=0;i<4;i++) player[i].clear();
                                    ^
0_0_20975875_22983.cpp:105:32: error: expected ')' before ';' token
         for(int i=2;i<=23;i++)
                                ^
0_0_20975875_22983.cpp:105:35: error: lvalue required as unary '&' operand
         for(int i=2;i<=23;i++)
                                   ^
0_0_20975875_22983.cpp:105:38: error: expected primary-expression before ')' token
         for(int i=2;i<=23;i++)
                                      ^
0_0_20975875_22983.cpp:115:31: error: expected ')' before ';' token
         for(int i=1;i<=n;i++)
                               ^
0_0_20975875_22983.cpp:115:34: error: lvalue required as unary '&' operand
         for(int i=1;i<=n;i++)
                                  ^
0_0_20975875_22983.cpp:115:37: error: expected primary-expression before ')' token
         for(int i=1;i<=n;i++)
                                     ^


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-29 18:10:12, Gzip enabled