Search found 4 matches

by gfz87
Mon Oct 15, 2007 7:54 pm
Forum: Volume 101 (10100-10199)
Topic: 10142 - Australian Voting
Replies: 82
Views: 46035

Hi.. I already finished this problem a long time ago... I don't remember what was the problem, but I think it was something like that.. Thank you for posting anyway
by gfz87
Thu May 03, 2007 7:06 pm
Forum: Volume 7 (700-799)
Topic: 706 - LCD Display
Replies: 221
Views: 65518

Ok, my program just got accepted, I didn't initiate the variable where it stores all the votes
by gfz87
Thu Apr 26, 2007 6:23 am
Forum: Volume 101 (10100-10199)
Topic: 10142 - Australian Voting
Replies: 82
Views: 46035

Here is my C++ code, I tried with 20 cases, and it did just fine. Judge says:

Your program has died with signal 11 (SIGSEGV). Meaning:

Invalid memory reference

Before crash, it ran during 0.002 seconds.

Here is my code:

#include <iostream>
#include <stdio.h>
#include <string.h>

using ...
by gfz87
Sun Apr 22, 2007 1:18 am
Forum: Volume 7 (700-799)
Topic: 706 - LCD Display
Replies: 221
Views: 65518

I try a lot of test cases, and my program seems to run ok and it gives a correct output, but judge still gives me a WA. Here is my C++ code:

#include <iostream>

using namespace std;

struct par
{
int s;
char *n;
};

char **getnro(int s, char *n)
{
int i, j, k, l;
char **nro;
nro = new char ...

Go to advanced search