Search found 3 matches

by Rolando_de_Gilead
Wed Mar 02, 2005 12:58 am
Forum: Volume 103 (10300-10399)
Topic: 10368 - Euclid's Game
Replies: 14
Views: 7692

10368

Could someone give me some inputs/outputs to test my program? I'm getting WA. Please help me.
by Rolando_de_Gilead
Thu Feb 24, 2005 2:22 am
Forum: Volume 102 (10200-10299)
Topic: 10277 - Boastin' Red Socks
Replies: 8
Views: 6092

10277

I have a problem with this program. When the input is: "12 2499550020" and j = 49992 the line: "if ( ((n == r2) && n>1) || ((m==r1) && m>1))" says "WRONG", but it is true, I had used the debugger and n=r2 = 4.0000000000000 and if I solve the equation with a calculator it's also true. Someone can ...
by Rolando_de_Gilead
Thu Feb 24, 2005 1:45 am
Forum: Volume 4 (400-499)
Topic: 412 - Pi
Replies: 104
Views: 30272

Help 412

Someone can help me? I can't see where is the problem but the systems says WA.
-------------------------------------------------------------------------------------

#include <stdio.h>
#include <math.h>

typedef struct {
int dim;
int v[50];
} set;

int readinput (set f[]) {
int i=0, j=0;

while ...

Go to advanced search