Search found 120 matches

by Hisoka
Sat Apr 26, 2003 6:14 pm
Forum: Volume 1 (100-199)
Topic: 112 - Tree Summing
Replies: 137
Views: 14076

hello again........ this is some test case for you ; -7 (1 (-6 (2 (1 ()()) (-4 ()(1 (1 ()())(-1 ()()) ) ) ) () ) () ) yes 0 ( ) no 3 (3 (4 (5 ()()) (8 (-3 (-7 ()())())(-4 ()(-8 ()())))) (6 (6 (-5 ()())(-6 ()(-9 ()())))(7 ()()))) yes 0 (1() (-2 () (1()()))) yes 1 (1 () (0 ()()) ) yes - [*D.3*]Chopin ...
by Hisoka
Sat Apr 26, 2003 3:24 pm
Forum: Volume 101 (10100-10199)
Topic: 10110 - Light, more light
Replies: 76
Views: 26220

hello, almost human.......

for sqrt() your data type must use double, not integer. :wink:
by Hisoka
Sat Apr 26, 2003 3:07 pm
Forum: Volume 1 (100-199)
Topic: 100 - The 3n + 1 problem
Replies: 1394
Views: 184329

hello ........ before proses, store all value in array. you can calculate from 1 to 1000000. for calculate you can do like this: sample: ans[1]=1; ans[2]=2; ans[3]=8; ans[4]=3; ans[5]= 5 16 8 (4) =3 + ans[4]= 6; ans[6]= 6 (3) =1 + ans[3]= 9; but I don't know why they can got 0:00:000 s, I use this m...
by Hisoka
Sat Apr 26, 2003 2:42 pm
Forum: Volume 1 (100-199)
Topic: 112 - Tree Summing
Replies: 137
Views: 14076

hello, [D.3]Sadako.......

try with negatif input.

GOOD LUCK........ :wink:
by Hisoka
Fri Apr 25, 2003 6:06 pm
Forum: Volume 1 (100-199)
Topic: 114 - Simulation Wizardry
Replies: 80
Views: 7683

oke finally I got AC. I miss a clue from this board.

THANKS......... :D
by Hisoka
Fri Apr 25, 2003 2:07 pm
Forum: Volume 100 (10000-10099)
Topic: 10035 - Primary Arithmetic
Replies: 328
Views: 57692

hello almost human.....

based on your code you cannot handle input like this.

Code: Select all

12300 78900
output should be

Code: Select all

2 carry operations.
Just a little mistake. :wink:
by Hisoka
Fri Apr 25, 2003 1:44 pm
Forum: Volume 1 (100-199)
Topic: 114 - Simulation Wizardry
Replies: 80
Views: 7683

help me for 114

Hello......

Can you help me to give some test case for this problem, because I always got WA for this problem but I don't know why. :cry:
Maybe my description wrong or ???? but based on all previous post for this problem I thinks my description true. maybe I missing something ?

THANKS.......
by Hisoka
Wed Apr 23, 2003 4:17 pm
Forum: Volume 4 (400-499)
Topic: 406 - Prime Cuts
Replies: 187
Views: 22704

hello, globi....

for this problem the I/O format like this:

Code: Select all

a b
a b: result
you must print your input again in your output. :wink:
by Hisoka
Sat Apr 19, 2003 11:32 am
Forum: Volume 1 (100-199)
Topic: 100 - The 3n + 1 problem
Replies: 1394
Views: 184329

hello I don't check your algo, but in your program, you must print input or output exactly same with the sample.

for this problem your input just like this

1 100
2 24

and your output:

1 100 X
2 24 X

X = answer.
by Hisoka
Fri Apr 18, 2003 6:53 pm
Forum: Volume 103 (10300-10399)
Topic: 10340 - All in All
Replies: 129
Views: 31980

change your array to 100000. :wink:
by Hisoka
Thu Apr 17, 2003 9:17 pm
Forum: C
Topic: linked lists
Replies: 7
Views: 3117

I always use stdlib.h when I used linkedlist, and I was not got RE. and I don't know what happen if you use malloc.h
by Hisoka
Tue Apr 15, 2003 12:06 pm
Forum: Volume 5 (500-599)
Topic: 574 - Sum It Up
Replies: 46
Views: 14061

to deddy: I don't know where is your mistake, because I don't know your code, but it maybe only a small mistake. :wink: to titid: I'm failed at semifinal, because a small mistake in file he..he..he.. because that I solve problem 3 at 2 hour, and I cannot solve another problem because I very angry wi...
by Hisoka
Mon Apr 14, 2003 6:39 pm
Forum: Volume 5 (500-599)
Topic: 574 - Sum It Up
Replies: 46
Views: 14061

hai, this is sample I/O: input: 6 1 2 7 1 7 131 12 99 80 70 60 50 40 30 20 10 10 10 2 18 12 3 3 3 3 3 3 3 3 3 3 3 3 24 12 2 2 2 2 2 2 2 2 2 2 2 2 11 4 4 3 2 1 999 1 999 output: Sums of 6: NONE Sums of 7: 7 Sums of 131: 99+30+2 99+20+10+2 99+10+10+10+2 Sums of 18: 3+3+3+3+3+3 Sums of 24: 2+2+2+2+2+2+...
by Hisoka
Mon Apr 14, 2003 2:08 pm
Forum: Volume 5 (500-599)
Topic: 574 - Sum It Up
Replies: 46
Views: 14061

hello titid, I try to compile your program with bc 3.1 and I got your program too much global variable, and if I reduce your allresult[500] to allresult [200], you cannot pass with first sample I/O. but I don't know, if at gcc compiler you pass or not. but I think, your program cannot handle input l...
by Hisoka
Mon Apr 14, 2003 1:08 pm
Forum: Volume 100 (10000-10099)
Topic: 10055 - Hashmat the Brave Warrior
Replies: 166
Views: 46408

I think not, because for input you must greater than unsigned int. :wink:

for this problem you can use long long int, double, or string (like lendlice).

Go to advanced search