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 ACM05002 at 2005-08-07 13:45:56 on Problem 2159
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:
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