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 |
Re:这道题目的测试数据不是只有一组的吧?In Reply To:这道题目的测试数据不是只有一组的吧? Posted by:Jin_j_y at 2005-03-31 13:14:40 > 按题目上的说法似乎只有一组测试数据,但是我试了一下,好像不是. > #include<iostream> > #include<string> > using namespace std; > > int main(){ > > string str; > getline(cin,str); > getline(cin,str); > cout<<"YES"<<endl;//WA! > //cout<<"NO"<<endl;//WA!! > > return 0; > } > > 到底测试数据是怎么样的啊? 每次测试数据只有一组,但是系统可以多次测试你的程序. Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator