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_23201147_25380.cpp:4:7: error: 'MAX_NUM' does not name a type
 const MAX_NUM=1000; 
       ^
0_0_23201147_25380.cpp:8:11: error: '::main' must return 'int'
 void main() 
           ^
0_0_23201147_25380.cpp: In function 'int main()':
0_0_23201147_25380.cpp:16:18: error: 'MAX_NUM' was not declared in this scope
         long num[MAX_NUM]; 
                  ^
0_0_23201147_25380.cpp:18:32: error: 'num' was not declared in this scope
         for(j=0;j <MAX_NUM;j++)num[j]=0; 
                                ^
0_0_23201147_25380.cpp:24:17: error: 'num' was not declared in this scope
                 num[i]=num[i]*10+temp; 
                 ^
0_0_23201147_25380.cpp:34:15: error: 'num' was not declared in this scope
         merge(num,i+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-20 09:43:29, Gzip enabled