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_34824305_19472.cpp: In function 'int main()':
0_0_34824305_19472.cpp:205:21: error: expected '}' before 'else'
                     else
                     ^
0_0_34824305_19472.cpp:207:31: error: 'endd' was not declared in this scope
                         while(endd>beginn)
                               ^
0_0_34824305_19472.cpp:207:36: error: 'beginn' was not declared in this scope
                         while(endd>beginn)
                                    ^
0_0_34824305_19472.cpp:213:25: error: 'anss' was not declared in this scope
                         anss=mx[endd];
                         ^
0_0_34824305_19472.cpp:213:33: error: 'endd' was not declared in this scope
                         anss=mx[endd];
                                 ^
0_0_34824305_19472.cpp:215:33: error: 'anss' was not declared in this scope
                     ans=max(ans,anss);
                                 ^
0_0_34824305_19472.cpp:216:33: error: expected primary-expression before '/' token
                     i += block;*/
                                 ^
0_0_34824305_19472.cpp:256:17: error: expected primary-expression before '}' token
                 }
                 ^
0_0_34824305_19472.cpp:257:17: error: 'else' without a previous 'if'
                 else
                 ^
0_0_34824305_19472.cpp:259:31: error: 'i' was not declared in this scope
                     if (list1[i].nl > val && ans < list1[i].zc)
                               ^
0_0_34824305_19472.cpp:263:23: error: 'i' was not declared in this scope
                     ++i;
                       ^
0_0_34824305_19472.cpp:271:17: error: 'ans' was not declared in this scope
             if (ans == -1)
                 ^
0_0_34824305_19472.cpp: At global scope:
0_0_34824305_19472.cpp:278:1: error: expected declaration before '}' token
 }
 ^


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-25 14:49:40, Gzip enabled