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 |
我觉得输入数据有问题!我用以下的程序来测试输入数据,会出现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