Search found 2 matches

by schang
Mon May 31, 2004 2:25 pm
Forum: Volume 7 (700-799)
Topic: 785 - Grid Colouring
Replies: 27
Views: 18522

hi, i always get a runtime error:
Your program has died with signal 11 (SIGSEGV). Meaning:

Invalid memory reference
i really don't know why, my sample inputs work great! take a look at my code, perhaps you know the reason...

[cpp]#include <iostream>
using namespace std;

#define BUFSIZE 32768 ...
by schang
Sat Apr 24, 2004 11:31 pm
Forum: Volume 100 (10000-10099)
Topic: 10013 - Super long sums
Replies: 212
Views: 67693

well, i get WA as well... and i really don't know why... i'd be grateful for any kind of suggestion!

[cpp]
#include<iostream>
#include<math.h>
using namespace std;

int resultat [111112];

void uebertrag(int d, int e)
{
int ink, f, blub;
f = pow(10, 9);
ink = resultat[d];


if(ink + 1 < f ...

Go to advanced search