| ||||||||||
| 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:请教各位高手,我的程序不知道哪里错了。。。结果是Runtime error!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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator