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

恩,谢谢,再看输入描述吧

Posted by hawk at 2005-05-10 21:18:07 on Problem 2295
In Reply To:我觉得输入数据有问题! Posted by:chanma at 2005-05-10 21:09:27
> 我用以下的程序来测试输入数据,会出现runtime error!
> 题目已经说明每个等式最长不超过255。
> 从理论上来讲,以下的程序 应该得到wrong answer吧?
> #include <iostream.h>
> 
> int main()
> {
> 	int T,i;
> 	char s[256];
> 	cin>>T;
> 	for(i=1;i<=T;++i)
> 	{
> 		cin>>s;
> 		cout<<1<<endl;
> 	}
> 	return 0;
> }

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