## Search found 47 matches

Wed Dec 17, 2003 5:16 pm
Forum: Volume 100 (10000-10099)
Topic: 10035 - Primary Arithmetic
Replies: 328
Views: 58141

### 10035

u use long int which range is 2^31-1= 2147483647

it is a 10 digits number. but 2147483647 <5000000000.

so u can use here unsigned long. u hav to %lu for unsigned long.

& one thing fmod is a function which use to mod a floating number.

OSAN
Wed Dec 17, 2003 5:02 pm
Forum: Volume 100 (10000-10099)
Topic: 10013 - Super long sums
Replies: 212
Views: 40569

### 10013

i didn't check ur code.
u told about smith number on top.
smith number is a problem which's number is 10042 && u told it is 10013. make sure about the problem.

& one thing fmod is a function which use to mod a floating number.

OSAN
Fri Dec 12, 2003 7:25 pm
Forum: Volume 100 (10000-10099)
Topic: 10038 - Jolly Jumpers
Replies: 445
Views: 80823

### i think u couldn't understand the problem yet

CHECK THIS INPUT :roll: INPUT 4 1 4 2 3 5 1 4 2 -1 6 10 1 2 3 4 5 6 7 8 9 10 10 1 2 4 7 11 16 22 29 37 46 10 -1 -2 -4 -7 -11 -16 -22 -29 -37 -46 10 -1 -1 -4 -7 -11 -16 -22 -29 -37 -46 1 1 2 1 2 2 2 1 4 0 4 2 3 4 1 3 2 4 1 2 6 1 4 3 7 5 10 REAL OUTPUT Jolly Not jolly Not jolly Jolly Jolly Not jolly J...
Sun Nov 23, 2003 4:34 pm
Forum: Volume 105 (10500-10599)
Topic: 10515 - Powers Et Al.
Replies: 124
Views: 29954

### think abt this

Dear bayzid

i think it would be tuff for you to handle last two digit or or last digit. after getting input as a string.

i hope u know about the function strlen.
try to use this

hope you understand whatever i wanna to say.

if you can't mail me then.
Wed Nov 19, 2003 5:11 pm
Forum: Volume 4 (400-499)
Topic: 444 - Encoder and Decoder
Replies: 155
Views: 22106

### check this input & output

INPUT
abc
798999
Have a Nice Day !
9900199
aaa
11167001
ABC
AbCD
OUTPUT
998979
cba
332312179862310199501872379231018117927
cdc
9900179898979
797979
dLo
766656
86768956
Mon Nov 10, 2003 5:03 pm
Forum: Volume 100 (10000-10099)
Topic: 10018 - Reverse and Add
Replies: 169
Views: 18683
i think if you dont wanna use

1. Change long double to double.
2. Change fmodl to fmod.
3. Change Lf to lf.

u can use unsigned long.
but u have to use %lu.
Mon Nov 10, 2003 4:39 pm
Forum: Volume 3 (300-399)
Topic: 369 - Combinations
Replies: 101
Views: 17574
junjieliang
i used long double to hold the final value
Mon Nov 10, 2003 4:21 pm
Forum: Volume 3 (300-399)
Topic: 369 - Combinations
Replies: 101
Views: 17574
dear Joseph Kurniawan

thanks for your messege. actually i was confused about that. well i will check it in GCC.

i'm new in porgramming side. so don't have that kind of knowledge.
Sun Nov 09, 2003 1:12 pm
Forum: Volume 3 (300-399)
Topic: 371 - Ackermann Functions
Replies: 196
Views: 28987
Aengus,

I think you didn
Sun Nov 09, 2003 1:09 pm
Forum: Volume 3 (300-399)
Topic: 371 - Ackermann Functions
Replies: 196
Views: 28987
onece again telling you remove your code from the forum.
Sun Nov 09, 2003 1:08 pm
Forum: Volume 3 (300-399)
Topic: 371 - Ackermann Functions
Replies: 196
Views: 28987
Aengus,

I think you didn
Sat Nov 08, 2003 8:19 pm
Forum: Volume 3 (300-399)
Topic: 371 - Ackermann Functions
Replies: 196
Views: 28987

### check this input & output

Dear Aengus

Check these
1 2
Between 1 and 2, 1 generates the longest sequence of 3 values.
2 1
Between 1 and 2, 1 generates the longest sequence of 3 values.
Sat Nov 08, 2003 8:12 pm
Forum: Volume 3 (300-399)
Topic: 369 - Combinations
Replies: 101
Views: 17574

I
Thu Nov 06, 2003 10:14 pm
Forum: Volume 4 (400-499)
Topic: 443 - Humble Numbers
Replies: 82
Views: 7339
Dear Shaka_RDR i think you are wrong about i've found it!!! its all about grammar in english.... i forgot 111 and 1111 is not follow by th but by st..... its also for 112, 1112, 113 and 1113..... really embarassing ...... Here some input and output of 443 Input 1 2 3 11 12 13 21 32 43 111 112 113 Ou...
Wed Nov 05, 2003 5:38 pm
Forum: Volume 105 (10500-10599)
Topic: 10515 - Powers Et Al.
Replies: 124
Views: 29954
Dear bayzid Input 17 11 2 12 3 10 Your output 7 4 1 Output should be 3 6 9 I think you should hold at least last 2 digit of n. Your code m=7 & n=1; 1%4= 1; For the m=7 & n=1 Result = 7. My code m=7 & n=11 11%4=3; For m=7 & n=3 Result = 3. i think you got that whatever i wanna say Please remove your ...