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

你输出的那个字窜是不是没有结束标志?\0,那么直接输出就会错的

Posted by hawk at 2003-11-01 21:37:26 on Problem 1007
In Reply To:怎么要一个字符一个字符输出 Posted by:first at 2003-11-01 21:09:19
> 	  for(i=0;i<N;i++)
> 	  {for(j=0;j<len;j++)
> 		 cout<<dna[sign[i]][j];
> 		  cout<<endl;
> 	  }
> 这样就行但是
> 	  for(i=0;i<N;i++)
> 	  {		 
>                  cout<<dna[sign[i]];
> 		  cout<<endl;
> 	  }
> wrong answer~
> 

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