Search found 4 matches

by jbh
Sat Sep 16, 2006 7:19 pm
Forum: Volume 110 (11000-11099)
Topic: 11076 - Add Again
Replies: 34
Views: 21918

Darko wrote:My AC program gives the same output - check if your operations are in wrong order and cause overflow or something like that.
thnx for your reply. but i can't find the problem.
Can anyone debug my code?...

Code: Select all

 code deleted after ac
by jbh
Sat Sep 16, 2006 9:50 am
Forum: Volume 110 (11000-11099)
Topic: 11076 - Add Again
Replies: 34
Views: 21918

anyone can give me some sample i/o? my code passed all those given here..but still WA!! :(

what is the output for these input:

12
9 0 0 0 0 0 0 0 0 0 0 9
12
0 0 0 0 0 0 0 0 0 0 0 9
11
9 8 7 6 5 4 3 2 1 0 0
12
9 8 7 6 5 4 3 2 1 1 1 1
12
0 1 2 3 0 1 0 7 0 9 6 0
12
9 0 0 0 0 9 0 0 0 0 0 9
3
0 3 3
3 ...
by jbh
Sat Aug 05, 2006 1:28 pm
Forum: Volume 106 (10600-10699)
Topic: 10680 - LCM
Replies: 38
Views: 19699

ok martin, i'll do that in future.
but help me on this code. i know it gives wa for some inputs.
but i can't find the problem. :(
by jbh
Fri Aug 04, 2006 8:38 pm
Forum: Volume 106 (10600-10699)
Topic: 10680 - LCM
Replies: 38
Views: 19699

10680

my code gives wrong output for some input like 78125. but why? plz help me.

#include<stdio.h>
#include<math.h>
#include<string>
#include<iostream>
#include<stdlib.h>
#include<ctype.h>
using namespace std;

#define tt long long
#define type int
#define size_ 1000001
#define DIGIT 1000000

bool ...

Go to advanced search