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_20989345_21792.cpp:31:25: error: stray '#' in program
     for(int i=2; i<N; i++)
                         ^
0_0_20989345_21792.cpp:31:30: error: stray '#' in program
     for(int i=2; i<N; i++)
                              ^
0_0_20989345_21792.cpp:35:18: error: stray '#' in program
             p[pn++]=i;
                  ^
0_0_20989345_21792.cpp:35:23: error: stray '#' in program
             p[pn++]=i;
                       ^
0_0_20989345_21792.cpp:36:35: error: stray '#' in program
             for(int j=i*i; j<N; j+=i)
                                   ^
0_0_20989345_21792.cpp:40:26: error: stray '#' in program
     for(int i=0; i<pn; i++)
                          ^
0_0_20989345_21792.cpp:40:31: error: stray '#' in program
     for(int i=0; i<pn; i++)
                               ^
0_0_20989345_21792.cpp:45:53: error: stray '#' in program
             for(int k=p[i],num=1; k<=j; k*=p[i],num++)
                                                     ^
0_0_20989345_21792.cpp:45:58: error: stray '#' in program
             for(int k=p[i],num=1; k<=j; k*=p[i],num++)
                                                          ^
0_0_20989345_21792.cpp:46:32: error: stray '#' in program
                 if(d[j]<d[j-k]+tp*num)
                                ^
0_0_20989345_21792.cpp:48:33: error: stray '#' in program
                     d[j]=d[j-k]+tp*num;
                                 ^
0_0_20989345_21792.cpp:66:39: error: stray '#' in program
         for(int i=0; i<g[n].size(); i++)
                                       ^
0_0_20989345_21792.cpp:66:44: error: stray '#' in program
         for(int i=0; i<g[n].size(); i++)
                                            ^
0_0_20989345_21792.cpp:68:17: error: stray '#' in program
             sum+=g[n][i];
                 ^
0_0_20989345_21792.cpp:69:19: error: stray '#' in program
             ans[m++]=g[n][i];
                   ^
0_0_20989345_21792.cpp:69:24: error: stray '#' in program
             ans[m++]=g[n][i];
                        ^
0_0_20989345_21792.cpp:71:31: error: stray '#' in program
         for(int i=sum; i<n; i++)
                               ^
0_0_20989345_21792.cpp:71:36: error: stray '#' in program
         for(int i=sum; i<n; i++)
                                    ^
0_0_20989345_21792.cpp:72:19: error: stray '#' in program
             ans[m++]=1;
                   ^
0_0_20989345_21792.cpp:72:24: error: stray '#' in program
             ans[m++]=1;
                        ^
0_0_20989345_21792.cpp:73:22: error: stray '#' in program
         sort(ans,ans+m);
                      ^
0_0_20989345_21792.cpp:76:29: error: stray '#' in program
         for(int i=0; i<m; i++)
                             ^
0_0_20989345_21792.cpp:76:34: error: stray '#' in program
         for(int i=0; i<m; i++)
                                  ^
0_0_20989345_21792.cpp:78:40: error: stray '#' in program
             for(int j=0; j<ans[i]-1; j++)
                                        ^
0_0_20989345_21792.cpp:78:45: error: stray '#' in program
             for(int j=0; j<ans[i]-1; j++)
                                             ^
0_0_20989345_21792.cpp:81:31: error: stray '#' in program
                 printf("%d",t+j+1);
                               ^
0_0_20989345_21792.cpp:81:37: error: stray '#' in program
                 printf("%d",t+j+1);
                                     ^
0_0_20989345_21792.cpp:87:15: error: stray '#' in program
             t+=ans[i];
               ^
0_0_20989345_21792.cpp: In function 'void init()':
0_0_20989345_21792.cpp:31:28: error: expected ')' before ';' token
     for(int i=2; i<N; i++)
                            ^
0_0_20989345_21792.cpp:31:31: error: lvalue required as unary '&' operand
     for(int i=2; i<N; i++)
                               ^
0_0_20989345_21792.cpp:31:34: error: expected primary-expression before ')' token
     for(int i=2; i<N; i++)
                                  ^
0_0_20989345_21792.cpp:40:29: error: expected ')' before ';' token
     for(int i=0; i<pn; i++)
                             ^
0_0_20989345_21792.cpp:40:32: error: lvalue required as unary '&' operand
     for(int i=0; i<pn; i++)
                                ^
0_0_20989345_21792.cpp:40:35: error: expected primary-expression before ')' token
     for(int i=0; i<pn; i++)
                                   ^
0_0_20989345_21792.cpp: In function 'int main()':
0_0_20989345_21792.cpp:66:42: error: expected ')' before ';' token
         for(int i=0; i<g[n].size(); i++)
                                          ^
0_0_20989345_21792.cpp:66:45: error: lvalue required as unary '&' operand
         for(int i=0; i<g[n].size(); i++)
                                             ^
0_0_20989345_21792.cpp:66:48: error: expected primary-expression before ')' token
         for(int i=0; i<g[n].size(); i++)
                                                ^
0_0_20989345_21792.cpp:71:34: error: expected ')' before ';' token
         for(int i=sum; i<n; i++)
                                  ^
0_0_20989345_21792.cpp:71:37: error: lvalue required as unary '&' operand
         for(int i=sum; i<n; i++)
                                     ^
0_0_20989345_21792.cpp:71:40: error: expected primary-expression before ')' token
         for(int i=sum; i<n; i++)
                                        ^
0_0_20989345_21792.cpp:72:25: error: lvalue required as unary '&' operand
             ans[m++]=1;
                         ^
0_0_20989345_21792.cpp:72:28: error: expected primary-expression before ']' token
             ans[m++]=1;
                            ^
0_0_20989345_21792.cpp:73:23: error: invalid operands of types 'int [10001]' and 'int' to binary 'operator&'
         sort(ans,ans+m);
                       ^
0_0_20989345_21792.cpp:73:27: error: expected ';' before ')' token
         sort(ans,ans+m);
                           ^
0_0_20989345_21792.cpp:76:32: error: expected ')' before ';' token
         for(int i=0; i<m; i++)
                                ^
0_0_20989345_21792.cpp:76:35: error: lvalue required as unary '&' operand
         for(int i=0; i<m; i++)
                                   ^
0_0_20989345_21792.cpp:76:38: error: expected primary-expression before ')' token
         for(int i=0; i<m; 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-23 03:00:34, Gzip enabled