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_22692335_14619.cpp:6:7: error: 'maxn' was not declared in this scope
 int c[maxn], tc[maxn];
       ^
0_0_22692335_14619.cpp:6:17: error: 'maxn' was not declared in this scope
 int c[maxn], tc[maxn];
                 ^
0_0_22692335_14619.cpp: In function 'int main()':
0_0_22692335_14619.cpp:16:13: error: 'inf' was not declared in this scope
         ans=inf;
             ^
0_0_22692335_14619.cpp:17:23: error: 'maxn' was not declared in this scope
         for(int i=1;i<maxn;i++)
                       ^
0_0_22692335_14619.cpp:19:26: error: 'c' was not declared in this scope
             scanf("%d", &c[i]);
                          ^
0_0_22692335_14619.cpp:20:13: error: 'tc' was not declared in this scope
             tc[i]=c[i];
             ^
0_0_22692335_14619.cpp:29:17: error: 'tc' was not declared in this scope
                 tc[5]=c[5]-i;
                 ^
0_0_22692335_14619.cpp:29:23: error: 'c' was not declared in this scope
                 tc[5]=c[5]-i;
                       ^


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-12-02 11:03:19, Gzip enabled