Search found 5 matches

by aditya
Thu Mar 17, 2005 6:41 am
Forum: Algorithms
Topic: Graph Algorithm Training for Newcomer and Interested Person
Replies: 3
Views: 2203

Hi

Hi,

Long time no posts Niaz? We are waiting for your tutorial with bated breath
by aditya
Sat Feb 21, 2004 8:32 am
Forum: Volume 1 (100-199)
Topic: 101 - The Blocks Problem
Replies: 635
Views: 109841

Hi JW,

Try compiling with
gcc -Wall -pedantic and remove all the warnings.....
I had a similar problem earlier. My code was compiling but with some warnings and the online judge was giving me a compiler error.....if you want it will send you the detailed compiler error message on your email id ...
by aditya
Sat Feb 14, 2004 5:45 pm
Forum: Volume 1 (100-199)
Topic: 101 - The Blocks Problem
Replies: 635
Views: 109841

Problem 101 - Runtime error (SIGSEGV)

[cpp]

#include <string>
#include <iostream>
using namespace std;

const int MAXNUM = 25;

enum Boolean { FALSE, TRUE };
void Reset( int *block[], int row_a, int a );
void Move( int *block[], int row_a, int a, int b );
int Find( int *block[], int a, int n );
void Initialise( int *block[], int n ...
by aditya
Fri Feb 13, 2004 5:01 pm
Forum: Volume 1 (100-199)
Topic: 103 - Stacking Boxes
Replies: 200
Views: 50834

Compiler Error

Helllo Everyone,

My program runs fine on my computer.
i am using gcc with -Wall and -pedantic.......but when i submit the problem via Submit-o-matic i get a compiler error............this is driving me crazy......everything seems to be right.....
please help..................
by aditya
Thu Feb 12, 2004 5:16 pm
Forum: Volume 1 (100-199)
Topic: 113 - Power of Cryptography
Replies: 163
Views: 50785

i am trying to use the double data type but if i input a number having more than say 20 digits and then just print it ( no processing ) , i am not getting the same number that i had entered. after 20 digits the precision is lost.
could anyone pls suggest why it is so?

p.s. i have even tried long ...

Go to advanced search