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_20974011_29704.cpp:19:25: error: stray '#' in program
     for(i = 0;i <= n;i ++)
                         ^
0_0_20974011_29704.cpp:19:30: error: stray '#' in program
     for(i = 0;i <= n;i ++)
                              ^
0_0_20974011_29704.cpp:22:20: error: stray '#' in program
         r[i] = (i + 1) % (n + 1);
                    ^
0_0_20974011_29704.cpp:22:34: error: stray '#' in program
         r[i] = (i + 1) % (n + 1);
                                  ^
0_0_20974011_29704.cpp:23:24: error: stray '#' in program
         l[i] = (i - 1 + n + 1) % (n + 1);
                        ^
0_0_20974011_29704.cpp:23:32: error: stray '#' in program
         l[i] = (i - 1 + n + 1) % (n + 1);
                                ^
0_0_20974011_29704.cpp:23:46: error: stray '#' in program
         l[i] = (i - 1 + n + 1) % (n + 1);
                                              ^
0_0_20974011_29704.cpp:25:14: error: stray '#' in program
     num = n + 1;
              ^
0_0_20974011_29704.cpp:41:11: error: stray '#' in program
     s[j] ++;
           ^
0_0_20974011_29704.cpp:41:16: error: stray '#' in program
     s[j] ++;
                ^
0_0_20974011_29704.cpp:48:10: error: stray '#' in program
     num ++;
          ^
0_0_20974011_29704.cpp:48:15: error: stray '#' in program
     num ++;
               ^
0_0_20974011_29704.cpp:58:42: error: stray '#' in program
         l[r[i]] = r[l[i]] = i,s[col[i]] ++;
                                          ^
0_0_20974011_29704.cpp:58:47: error: stray '#' in program
         l[r[i]] = r[l[i]] = i,s[col[i]] ++;
                                               ^
0_0_20974011_29704.cpp:71:18: error: stray '#' in program
             ret ++;
                  ^
0_0_20974011_29704.cpp:71:23: error: stray '#' in program
             ret ++;
                       ^
0_0_20974011_29704.cpp:81:12: error: stray '#' in program
     if(dp + A() >= ans)//少个等号就TLE...
            ^
0_0_20974011_29704.cpp:107:17: error: stray '#' in program
         dfs(dp + 1);
                 ^
0_0_20974011_29704.cpp:111:24: error: stray '#' in program
             s[col[j]] ++;
                        ^
0_0_20974011_29704.cpp:111:29: error: stray '#' in program
             s[col[j]] ++;
                             ^
0_0_20974011_29704.cpp:130:29: error: stray '#' in program
         for(i = 1;i <= n;i ++)
                             ^
0_0_20974011_29704.cpp:130:34: error: stray '#' in program
         for(i = 1;i <= n;i ++)
                                  ^
0_0_20974011_29704.cpp:131:33: error: stray '#' in program
             for(j = 1;j <= n;j ++)
                                 ^
0_0_20974011_29704.cpp:131:38: error: stray '#' in program
             for(j = 1;j <= n;j ++)
                                      ^
0_0_20974011_29704.cpp: In function 'void init()':
0_0_20974011_29704.cpp:19:28: error: expected ')' before ';' token
     for(i = 0;i <= n;i ++)
                            ^
0_0_20974011_29704.cpp:19:31: error: lvalue required as unary '&' operand
     for(i = 0;i <= n;i ++)
                               ^
0_0_20974011_29704.cpp:19:34: error: expected primary-expression before ')' token
     for(i = 0;i <= n;i ++)
                                  ^
0_0_20974011_29704.cpp: In function 'void build(int, int)':
0_0_20974011_29704.cpp:41:17: error: lvalue required as unary '&' operand
     s[j] ++;
                 ^
0_0_20974011_29704.cpp:48:16: error: lvalue required as unary '&' operand
     num ++;
                ^
0_0_20974011_29704.cpp: In function 'void resume(int)':
0_0_20974011_29704.cpp:58:48: error: lvalue required as unary '&' operand
         l[r[i]] = r[l[i]] = i,s[col[i]] ++;
                                                ^
0_0_20974011_29704.cpp: In function 'int A()':
0_0_20974011_29704.cpp:71:24: error: lvalue required as unary '&' operand
             ret ++;
                        ^
0_0_20974011_29704.cpp: In function 'void dfs(int)':
0_0_20974011_29704.cpp:81:15: error: expected ')' before ';' token
     if(dp + A() >= ans)//少个等号就TLE...
               ^
0_0_20974011_29704.cpp:81:27: error: expected ';' before ')' token
     if(dp + A() >= ans)//少个等号就TLE...
                           ^
0_0_20974011_29704.cpp:107:20: error: expected ')' before ';' token
         dfs(dp + 1);
                    ^
0_0_20974011_29704.cpp:107:23: error: expected ';' before ')' token
         dfs(dp + 1);
                       ^
0_0_20974011_29704.cpp:111:30: error: lvalue required as unary '&' operand
             s[col[j]] ++;
                              ^
0_0_20974011_29704.cpp: In function 'int main()':
0_0_20974011_29704.cpp:130:32: error: expected ')' before ';' token
         for(i = 1;i <= n;i ++)
                                ^
0_0_20974011_29704.cpp:130:35: error: lvalue required as unary '&' operand
         for(i = 1;i <= n;i ++)
                                   ^
0_0_20974011_29704.cpp:130:38: error: expected primary-expression before ')' token
         for(i = 1;i <= n;i ++)
                                      ^
0_0_20974011_29704.cpp:131:39: error: lvalue required as unary '&' operand
             for(j = 1;j <= n;j ++)
                                       ^
0_0_20974011_29704.cpp:131:42: error: expected primary-expression before ')' token
             for(j = 1;j <= n;j ++)
                                          ^


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 10:36:56, Gzip enabled