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 granite at 2006-08-25 15:33:56 on Problem 2023
In Reply To:终于过了 ,数据中有循环赫赫。 看看我的恶心输入 Posted by:first at 2006-03-06 12:10:17
	cin >>	sp;
	for( int i = 1 ; i < sp+1 ; i++)
	{
		char	c;
		cin	>> c;
		string	sen;
		getline( cin , sen , '"' );
		getline( cin , sen , '"' );
		Story[i] = sen;
		if( c == 'C' )
		{
			mode[i] = 1;
			cin >> choice[i][0] >> choice[i][1];
		}
		else
		{
			mode[i] = 0;
			string	HAPPY;
			cin >> HAPPY;
			ending[i] = ( HAPPY == "HAPPY" );
		}
	}

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