| ||||||||||
| 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 | |||||||||
gcc编译器严重bug!纯粹输入就runtime error!!!!!!求解释!!!!!!如下程序,在gcc编译下结果会是runtime error!而用c编译就没事,只会WA!求解释!!!!!!
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
int N, W, S;
int List[1000];
int main()
{
int I, Cursor;
scanf("%d", &N);
if (N <= 0 || N > 64) return 0;
for (I = 0; I < N; I++) List[I] = I;
return 0;
}
Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator