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

gcc编译器严重bug!纯粹输入就runtime error!!!!!!求解释!!!!!!

Posted by 0912240005 at 2010-01-04 00:44:14 on Problem 3750
如下程序,在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:
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