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_10131695_22070.c:1:19: iostream: No such file or directory
0_0_10131695_22070.c:2: error: syntax error before "namespace"
0_0_10131695_22070.c: In function `main':
0_0_10131695_22070.c:10: error: 'for' loop initial declaration used outside C99 mode
0_0_10131695_22070.c:14: error: `cin' undeclared (first use in this function)
0_0_10131695_22070.c:14: error: (Each undeclared identifier is reported only once
0_0_10131695_22070.c:14: error: for each function it appears in.)
0_0_10131695_22070.c:18: error: `cout' undeclared (first use in this function)
0_0_10131695_22070.c:18: error: `endl' undeclared (first use in this function)
0_0_10131695_22070.c: In function `fac':
0_0_10131695_22070.c:25: error: 'for' loop initial declaration used outside C99 mode


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-08 11:16:33, Gzip enabled