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_20989703_22678.cpp:28:29: error: stray '#' in program
         for (int i=1;i<=m;i++)
                             ^
0_0_20989703_22678.cpp:28:34: error: stray '#' in program
         for (int i=1;i<=m;i++)
                                  ^
0_0_20989703_22678.cpp:32:22: error: stray '#' in program
             e[i].x=x+1,e[i].y=y+1,e[i].len=z;
                      ^
0_0_20989703_22678.cpp:32:37: error: stray '#' in program
             e[i].x=x+1,e[i].y=y+1,e[i].len=z;
                                     ^
0_0_20989703_22678.cpp:34:16: error: stray '#' in program
         sort(e+1,e+m+1);
                ^
0_0_20989703_22678.cpp:34:24: error: stray '#' in program
         sort(e+1,e+m+1);
                        ^
0_0_20989703_22678.cpp:34:30: error: stray '#' in program
         sort(e+1,e+m+1);
                              ^
0_0_20989703_22678.cpp:35:29: error: stray '#' in program
         for (int i=1;i<=n;i++)
                             ^
0_0_20989703_22678.cpp:35:34: error: stray '#' in program
         for (int i=1;i<=n;i++)
                                  ^
0_0_20989703_22678.cpp:41:29: error: stray '#' in program
         for (int i=1;i<=m;i++)
                             ^
0_0_20989703_22678.cpp:41:34: error: stray '#' in program
         for (int i=1;i<=m;i++)
                                  ^
0_0_20989703_22678.cpp:46:16: error: stray '#' in program
             a[++tot]=e[i].len;
                ^
0_0_20989703_22678.cpp:46:21: error: stray '#' in program
             a[++tot]=e[i].len;
                     ^
0_0_20989703_22678.cpp:49:18: error: stray '#' in program
             s[y]+=s[x];
                  ^
0_0_20989703_22678.cpp:51:31: error: stray '#' in program
         for (int i=1;i<=tot;i++)//求和
                               ^
0_0_20989703_22678.cpp:51:36: error: stray '#' in program
         for (int i=1;i<=tot;i++)//求和
                                    ^
0_0_20989703_22678.cpp:52:20: error: stray '#' in program
             sum[i]+=sum[i-1];
                    ^
0_0_20989703_22678.cpp:59:34: error: stray '#' in program
             int id=lower_bound(a+1,a+tot+1,x)-a;
                                  ^
0_0_20989703_22678.cpp:59:42: error: stray '#' in program
             int id=lower_bound(a+1,a+tot+1,x)-a;
                                          ^
0_0_20989703_22678.cpp:59:50: error: stray '#' in program
             int id=lower_bound(a+1,a+tot+1,x)-a;
                                                  ^
0_0_20989703_22678.cpp: In function 'int main()':
0_0_20989703_22678.cpp:28:32: error: expected ')' before ';' token
         for (int i=1;i<=m;i++)
                                ^
0_0_20989703_22678.cpp:28:35: error: lvalue required as unary '&' operand
         for (int i=1;i<=m;i++)
                                   ^
0_0_20989703_22678.cpp:28:38: error: expected primary-expression before ')' token
         for (int i=1;i<=m;i++)
                                      ^
0_0_20989703_22678.cpp:34:17: error: invalid operands of types 'edge [500010]' and 'int' to binary 'operator&'
         sort(e+1,e+m+1);
                 ^
0_0_20989703_22678.cpp:34:25: error: invalid operands of types 'edge [500010]' and 'int' to binary 'operator&'
         sort(e+1,e+m+1);
                         ^
0_0_20989703_22678.cpp:34:35: error: expected ';' before ')' token
         sort(e+1,e+m+1);
                                   ^
0_0_20989703_22678.cpp:35:32: error: expected ')' before ';' token
         for (int i=1;i<=n;i++)
                                ^
0_0_20989703_22678.cpp:35:35: error: lvalue required as unary '&' operand
         for (int i=1;i<=n;i++)
                                   ^
0_0_20989703_22678.cpp:35:38: error: expected primary-expression before ')' token
         for (int i=1;i<=n;i++)
                                      ^
0_0_20989703_22678.cpp:41:32: error: expected ')' before ';' token
         for (int i=1;i<=m;i++)
                                ^
0_0_20989703_22678.cpp:41:35: error: lvalue required as unary '&' operand
         for (int i=1;i<=m;i++)
                                   ^
0_0_20989703_22678.cpp:41:38: error: expected primary-expression before ')' token
         for (int i=1;i<=m;i++)
                                      ^
0_0_20989703_22678.cpp:51:34: error: expected ')' before ';' token
         for (int i=1;i<=tot;i++)//求和
                                  ^
0_0_20989703_22678.cpp:51:37: error: lvalue required as unary '&' operand
         for (int i=1;i<=tot;i++)//求和
                                     ^
0_0_20989703_22678.cpp:51:40: error: expected primary-expression before ')' token
         for (int i=1;i<=tot;i++)//求和
                                        ^
0_0_20989703_22678.cpp:52:24: error: expected primary-expression before '=' token
             sum[i]+=sum[i-1];
                        ^
0_0_20989703_22678.cpp:52:29: error: 'i' was not declared in this scope
             sum[i]+=sum[i-1];
                             ^
0_0_20989703_22678.cpp:59:35: error: invalid operands of types 'int [10010]' and 'int' to binary 'operator&'
             int id=lower_bound(a+1,a+tot+1,x)-a;
                                   ^
0_0_20989703_22678.cpp:59:43: error: invalid operands of types 'int [10010]' and 'int' to binary 'operator&'
             int id=lower_bound(a+1,a+tot+1,x)-a;
                                           ^
0_0_20989703_22678.cpp:59:57: error: expected ';' before ')' token
             int id=lower_bound(a+1,a+tot+1,x)-a;
                                                         ^


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-30 07:42:31, Gzip enabled