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_21839317_15905.cpp:2:19: error: expected constructor, destructor, or type conversion before ';' token
         get_next();  
                   ^
0_0_21839317_15905.cpp:3:15: error: expected constructor, destructor, or type conversion before '(' token
         printf("Test case #%d\n",++t);  
               ^
0_0_21839317_15905.cpp:6:9: error: expected unqualified-id before 'for'
         for(i=2;i<=d;i++)  
         ^
0_0_21839317_15905.cpp:6:17: error: 'i' does not name a type
         for(i=2;i<=d;i++)  
                 ^
0_0_21839317_15905.cpp:6:22: error: 'i' does not name a type
         for(i=2;i<=d;i++)  
                      ^
0_0_21839317_15905.cpp:15:15: error: expected constructor, destructor, or type conversion before '(' token
         printf("\n");  
               ^
0_0_21839317_15905.cpp:16:5: 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-23 05:28:59, Gzip enabled