| ||||||||||
| Online Judge | Problem Set | Authors | Online Contests | User | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest | |||||||||
恩,谢谢,再看输入描述吧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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator