Search found 127 matches

by Subeen
Fri Mar 29, 2002 2:55 pm
Forum: Volume 4 (400-499)
Topic: 465 - Overflow
Replies: 104
Views: 23679

please give the output format of the following input

00009999 + 99999
9999+00099999
9999

+
00009



<font size=-1>[ This Message was edited by: Subeen on 2002-04-06 16:38 ]</font>
by Subeen
Fri Mar 22, 2002 7:58 am
Forum: Volume 5 (500-599)
Topic: 530 - Binomial Showdown
Replies: 137
Views: 33043

using unsigned long I also got it A.C.
pascle's triangle also works ( but i didn't try it myself )
by Subeen
Fri Mar 22, 2002 7:01 am
Forum: Volume 3 (300-399)
Topic: 369 - Combinations
Replies: 101
Views: 16746

stefan, i got this prog. accecpted (10079)
#include <stdio.h>

void main()
{
long long int n, m;
while(1)
{
scanf("%lli", &n);
if(n<0) break;
m = .....;
printf("%llin", m);
}
}


<font size=-1>[ This Message was edited by: Subeen on 2002-03-29 13:57 ]</font>
by Subeen
Fri Mar 22, 2002 6:40 am
Forum: Volume 100 (10000-10099)
Topic: 10007 - Count the Trees
Replies: 39
Views: 6502

<openssl/bn.h> is not allowed. simply use string and make ur own function to reduce space and time u can mask the numbers to int or long int. suppose u r using an char type array to store a 18 digit number. so u need 18 bytes mem. but u can use 2 long int that takes 8 bytes mem to store the number. ...
by Subeen
Mon Mar 18, 2002 7:23 am
Forum: Volume 3 (300-399)
Topic: 369 - Combinations
Replies: 101
Views: 16746

ok...
finally i got accecpted...
using unsigned long int
thanks to all for ur comments...
subeen.
by Subeen
Sat Dec 01, 2001 8:44 pm
Forum: Volume 3 (300-399)
Topic: 369 - Combinations
Replies: 101
Views: 16746

i solved it and it gives correct ans for sample data set but got wrong ans.
can anyone help me with some in/out data???
i used long int (in c) variable in this problem. do i need to use unsigned long?
do anyone know about long long int (in linux)??? plz write abt it.
by Subeen
Thu Nov 29, 2001 11:50 am
Forum: Volume 6 (600-699)
Topic: 608 - Counterfeit Dollar
Replies: 19
Views: 8064

608 - Counterfeit Dollar

i got W.A. with this problem. can anyone gimme some test data for this problem???

Go to advanced search