Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

Re:新手求助

Posted by AngelClover at 2008-11-27 01:04:01
In Reply To:新手求助 Posted by:huoyanyouli at 2008-11-27 00:52:44
> 刚开始做PKU,用的是C++。提交后总是出现CE。程序和给出的没什么区别。
> 详细情况如下:
> Compile Error
> 
> Main.c:1:20: iostream: No such file or directory
> Main.c:2: error: syntax error before "namespace"
> Main.c: In function `main':
> Main.c:5: error: `cin' undeclared (first use in this function)
> Main.c:5: error: (Each undeclared identifier is reported only once
> Main.c:5: error: for each function it appears in.)
> Main.c:6: error: `cout' undeclared (first use in this function)
> Main.c:6: error: `endl' undeclared (first use in this function)
> 
> 换pascal,仍然EC。。。请大牛指教下,究竟是什么问题啊。。。
> 
> 
头文件的问题吧

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator