Is this a bug?

Post here if you don't find any other place for your post. But please, stay on-topic: algorithms, programming or something related to this web site and its services.

Moderator: Board moderators

Post Reply
hewei
New poster
Posts: 14
Joined: Tue Jul 15, 2003 4:26 pm
Location: China

Is this a bug?

Post by hewei »

The memory usage of the following code shown on the OnlineJudge's status page is 64 kB! I believe there was something wrong.

Code: Select all

int A[1024][1024];

int main()
{
	int i, j;
	for (i = 0; i < 1024; i++)
	{
		for (j = 0; j < 1024; j++)
		{
			A[i][j] = i + j;
		}
	}
	return 0;
}
Post Reply

Return to “Other words”