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_4761301_28208.c:1:20: iostream: No such file or directory
0_0_4761301_28208.c:2:19: cstring: No such file or directory
0_0_4761301_28208.c:4: error: syntax error before "namespace"
0_0_4761301_28208.c: In function `main':
0_0_4761301_28208.c:8: error: `string' undeclared (first use in this function)
0_0_4761301_28208.c:8: error: (Each undeclared identifier is reported only once
0_0_4761301_28208.c:8: error: for each function it appears in.)
0_0_4761301_28208.c:8: error: syntax error before "input"
0_0_4761301_28208.c: At top level:
0_0_4761301_28208.c:13: error: `input' undeclared here (not in a function)
0_0_4761301_28208.c:15: error: syntax error before "n1"
0_0_4761301_28208.c:19: error: initializer element is not constant
0_0_4761301_28208.c:20: error: initializer element is not constant
0_0_4761301_28208.c:21: error: initializer element is not constant
0_0_4761301_28208.c:22: error: syntax error before "result"
0_0_4761301_28208.c:23: error: syntax error before "while"
0_0_4761301_28208.c:31: error: syntax error before "p"
0_0_4761301_28208.c: In function `getNum':
0_0_4761301_28208.c:32: error: `p' undeclared (first use in this function)
0_0_4761301_28208.c:34: error: 'for' loop initial declaration used outside C99 mode
0_0_4761301_28208.c: At top level:
0_0_4761301_28208.c:41: error: syntax error before "p"
0_0_4761301_28208.c: In function `getInt':
0_0_4761301_28208.c:42: error: `p' undeclared (first use in this function)


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-27 08:12:56, Gzip enabled