Search found 4 matches

by wamorimjr
Mon Jan 12, 2004 3:40 am
Forum: Volume 1 (100-199)
Topic: 195 - Anagram
Replies: 242
Views: 59294

195 : Runtime Error

Could someone help me? I'm getting a Runtime Error from judge but I don't know why. Any idea?

[c]

#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#include<ctype.h>

#define MAX_LEN 12
#define MAX_ARRAY 40321
#define TRUE 1 ...
by wamorimjr
Fri Jan 09, 2004 2:13 am
Forum: Volume 1 (100-199)
Topic: 195 - Anagram
Replies: 242
Views: 59294

195 : Runtime Error (SIGSEGV)

Shamin,
I did some changes in my code but now I got a "Runtime Error (SIGSEGV)" message. I think that the problem is because the length of the word used by judge is >9.
For a length word = 10 I need a vector length of 3628800, but if try to declare this vector I have a "Runtime Error (SIGSEGV ...
by wamorimjr
Wed Jan 07, 2004 4:05 am
Forum: Volume 1 (100-199)
Topic: 195 - Anagram
Replies: 242
Views: 59294

195: Anagram Time Limit Exceeded

Could anyone help me? I have submited my algorithm but I always have a Time Limit Exceed message. I'll send my code:

[c]
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#include<ctype.h>

#define MAX_LEN 10
#define MAX ...
by wamorimjr
Wed Oct 08, 2003 5:15 am
Forum: Volume 3 (300-399)
Topic: 344 - Roman Digititis
Replies: 15
Views: 6625

344 - Roman Digititis

People,
I have a problem with the 344. I submited it but I received a wrong answer mail. I tried a input file with all numbers between 1 an 100 and it seems to be right.
Could someone help me. The code is above:


[c]
/*@BEGIN_OF_SOURCE_CODE
/* @JUDGE_ID: 32478CA 344 C */


#include <stdio.h ...

Go to advanced search