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_22228321_29007.cpp: In function 'int main()':
0_0_22228321_29007.cpp:34:20: error: expected primary-expression before ';' token
          for(int i=;i<=n;i++){
                    ^
0_0_22228321_29007.cpp:38:17: error: expected primary-expression before ',' token
          sort(a+,a++n,cmp);
                 ^
0_0_22228321_29007.cpp:38:19: error: lvalue required as increment operand
          sort(a+,a++n,cmp);
                   ^
0_0_22228321_29007.cpp:41:20: error: expected primary-expression before ';' token
          for(int i=;i<=n;){
                    ^
0_0_22228321_29007.cpp:42:22: error: expected primary-expression before ';' token
              int j=i+;
                      ^
0_0_22228321_29007.cpp:68:24: error: expected primary-expression before ']' token
              while(b[r+].x-b[r].y-<=tt){
                        ^
0_0_22228321_29007.cpp:68:35: error: expected primary-expression before '<=' token
              while(b[r+].x-b[r].y-<=tt){
                                   ^
0_0_22228321_29007.cpp:69:23: error: expected primary-expression before '>=' token
                  if(r+>=t)break;
                       ^
0_0_22228321_29007.cpp:70:29: error: expected primary-expression before ']' token
                  tt=tt-(b[r+].x-b[r].y-);
                             ^
0_0_22228321_29007.cpp:70:40: error: expected primary-expression before ')' token
                  tt=tt-(b[r+].x-b[r].y-);
                                        ^
0_0_22228321_29007.cpp:73:41: error: expected ')' before 'tt'
              ans=max(ans,b[r].y-b[l].x++tt);
                                         ^
0_0_22228321_29007.cpp:74:22: error: expected primary-expression before ']' token
              if((b[l+].x-b[l].y-+tt)<=m&&l+!=t){
                      ^
0_0_22228321_29007.cpp:74:44: error: expected primary-expression before '!=' token
              if((b[l+].x-b[l].y-+tt)<=m&&l+!=t){
                                            ^
0_0_22228321_29007.cpp:75:29: error: expected primary-expression before ']' token
                  tt=tt+(b[l+].x-b[l].y-);
                             ^
0_0_22228321_29007.cpp:75:40: error: expected primary-expression before ')' token
                  tt=tt+(b[l+].x-b[l].y-);
                                        ^


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-17 05:58:52, Gzip enabled