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 Jin_j_y at 2005-03-31 13:14:40 on Problem 2159
按题目上的说法似乎只有一组测试数据,但是我试了一下,好像不是.
#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