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: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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator