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_22226405_14284.cpp: In function 'void input()':
0_0_22226405_14284.cpp:27:12: error: 'maxn1' was not declared in this scope
         if(maxn1 < n) maxn1 = n;
            ^
0_0_22226405_14284.cpp:38:12: error: 'maxn2' was not declared in this scope
         if(maxn2 < n) maxn2 = n;
            ^
0_0_22226405_14284.cpp: In function 'int main()':
0_0_22226405_14284.cpp:49:9: error: 'maxn' was not declared in this scope
         maxn = maxn1 = maxn2 = -1;
         ^
0_0_22226405_14284.cpp:49:16: error: 'maxn1' was not declared in this scope
         maxn = maxn1 = maxn2 = -1;
                ^
0_0_22226405_14284.cpp:49:24: error: 'maxn2' was not declared in this scope
         maxn = maxn1 = maxn2 = -1;
                        ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-01-08 05:03:22, Gzip enabled