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_35046246_10987.cpp:10:21: error: expected initializer before ']' token
 int rr[N],rrr[N],xxN],xxx[N];
                     ^
0_0_35046246_10987.cpp: In function 'void work(bool*, int*, int)':
0_0_35046246_10987.cpp:34:9: error: 'rrurn' was not declared in this scope
         rrurn;
         ^
0_0_35046246_10987.cpp:40:9: error: 'xxi' was not declared in this scope
         xxi]=xxi-1]+pp[i];
         ^
0_0_35046246_10987.cpp:41:9: error: 'xxx' was not declared in this scope
         xxx[i]=xxx[i-1]+ppp[i];
         ^
0_0_35046246_10987.cpp:55:25: error: 'xxlw' was not declared in this scope
                 ans+=2*(xxlw-1]-xxfw-1]);
                         ^
0_0_35046246_10987.cpp:55:31: error: expected ')' before ']' token
                 ans+=2*(xxlw-1]-xxfw-1]);
                               ^
0_0_35046246_10987.cpp:57:31: error: 'xxlw' was not declared in this scope
                 ans+=2*(lw-fw-xxlw-1]+xxfw-1]);
                               ^
0_0_35046246_10987.cpp:57:37: error: expected ')' before ']' token
                 ans+=2*(lw-fw-xxlw-1]+xxfw-1]);
                                     ^
0_0_35046246_10987.cpp:67:27: error: 'xxx' was not declared in this scope
                 ans += 2*(xxx[i-1]-xxx[fw-1]);
                           ^
0_0_35046246_10987.cpp:69:30: error: 'xxx' was not declared in this scope
                 ans+=2*(i-fw-xxx[i-1]+xxx[fw-1]);
                              ^
0_0_35046246_10987.cpp:72:25: error: 'xxlw' was not declared in this scope
                 ans+=2*(xxlw-1]-xxi-1]);
                         ^
0_0_35046246_10987.cpp:72:31: error: expected ')' before ']' token
                 ans+=2*(xxlw-1]-xxi-1]);
                               ^
0_0_35046246_10987.cpp:74:30: error: 'xxlw' was not declared in this scope
                 ans+=2*(lw-i-xxlw-1]+xxi-1]);
                              ^
0_0_35046246_10987.cpp:74:36: error: expected ')' before ']' token
                 ans+=2*(lw-i-xxlw-1]+xxi-1]);
                                    ^


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 09:05:30, Gzip enabled