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:请教各位高手,我的程序不知道哪里错了。。。结果是Runtime error!

Posted by runformydream at 2009-07-20 17:41:57 on Problem 1007
In Reply To:请教各位高手,我的程序不知道哪里错了。。。结果是Runtime error! Posted by:dreamvtkd at 2009-04-21 11:14:16
你的struct Input
{
	char a[101]; 
	int sum_A;
	int sum_C; 
	int sum_G; 
	int sum_T; 
	int sum; 
};

Input c[51]; 
弄反了,
应该是
struct Input
{
	char a[51]; 
	int sum_A;
	int sum_C; 
	int sum_G; 
	int sum_T; 
	int sum; 
};

Input c[110]; 
你再认真读题,我改了就AC了

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