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

It is caused by "-ftree-vectorize" option, but I dunno why.

Posted by Dzx at 2009-11-27 21:47:42
In Reply To:不得不提出,这个版本的G++有相当相当相当大的问题。见内。 Posted by:3xian at 2009-11-27 16:43:59
> #include <iostream>
> #include <algorithm>
> #include <cstdio>
> #include <cstring>
> using namespace std;
> 
> int main()
> {
> 	static int t[128];
> 	for (int j=0; j<=100; j++) {
> 		t[j]=0;
> 	}
> 	return 0;
> }
> 
> 连这样一个程序都会RE的。其他我所试过的各个OJ的C++和G++都不会出现类似问题。

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