Search found 37 matches

by kiha
Sat Mar 01, 2008 3:18 pm
Forum: Volume 114 (11400-11499)
Topic: 11406 - Best Trap
Replies: 8
Views: 3438

There must be. I also first assumed that the result is regardless of N, and I got WA. Notice that the net is conical, so I think you can place it only so that it is wholly included in the room. Consider the input 100 10 3 0 0 0 1 49 49 I presume the result to be 2, since no way you can cover the poi...
by kiha
Thu Sep 23, 2004 6:46 pm
Forum: Volume 103 (10300-10399)
Topic: 10344 - 23 out of 5
Replies: 81
Views: 27414

Hello, I get WA on this problem again and again. Maybe I don't understand the problem description. Tell me if I am wrong: 1) There occurs 0 in the input 2) Could I use division , or only +, *, -? Maybe it's posible if there occurs 0 and you can use division -- that would be the reason for yatsen's r...
by kiha
Wed Sep 01, 2004 5:02 pm
Forum: Volume 1 (100-199)
Topic: 120 - Stacks of Flapjacks
Replies: 118
Views: 13468

Hi, Quantris -- this is indeed true. I also changed only the input processing part [ I read integer by integer and have changed it to reading character by character ] and this got AC. Before, my code got WA in 0.000 or 0.002 even if I added a part: [pascal] for i:=1 to 10000000000 do writeln ('gfdgf...
by kiha
Sat Jul 31, 2004 7:47 pm
Forum: Volume 1 (100-199)
Topic: 120 - Stacks of Flapjacks
Replies: 118
Views: 13468

But my code does give correct answer for this and it's still WA
by kiha
Wed Jul 28, 2004 10:38 pm
Forum: Volume 101 (10100-10199)
Topic: 10106 - Product
Replies: 98
Views: 27276

Hello how silly copmuters are :[ When I ran my program on your tests, it gave too few numbers in output [later I realised that when reading from console in Turbo Pascal the maximum length of a string can be 127 :/]. I thought it is because string limit [255] is too small -- so in few minutes I chang...
by kiha
Wed Jul 28, 2004 10:05 pm
Forum: Volume 100 (10000-10099)
Topic: 10051 - Tower of Cubes
Replies: 19
Views: 8794

Oh God

really, now I see
So stupid was I ...
AAAA

Thanks very much!
Kind regards
by kiha
Wed Jul 28, 2004 10:03 pm
Forum: Volume 101 (10100-10199)
Topic: 10188 - Automated Judge Script
Replies: 58
Views: 30726

Hello,

after several submissions I got AC. I would add that the number of numerical characters in judge output and team output has to be the same!
Good luck those who get WA ...
by kiha
Wed Jul 28, 2004 3:39 pm
Forum: Volume 101 (10100-10199)
Topic: 10106 - Product
Replies: 98
Views: 27276

Hello

I've got the same problem. My program works for all test cases I have seen on the board. Despite that I've got WA. Please put more test cases.

With regards
by kiha
Wed Jul 28, 2004 1:52 pm
Forum: Volume 101 (10100-10199)
Topic: 10106 - Product
Replies: 98
Views: 27276

Hi,

do you mean: how many digits will have 10^250? I didn't understand your question.
by kiha
Mon Jul 26, 2004 9:19 pm
Forum: Volume 104 (10400-10499)
Topic: 10409 - Die Game
Replies: 7
Views: 4322

Hi, I got WA all the time. Can you please give me some test cases? What's the answer for 1 west ? Should it be 3 or 4? I don't paste my code here as it is really long, much longer than ones on the board, I use more complicated method but it should be AC I think... With regards ;) ---This part was ad...
by kiha
Sun Jul 25, 2004 1:48 pm
Forum: Volume 101 (10100-10199)
Topic: 10100 - Longest Match
Replies: 95
Views: 20893

Heyya some hints for those who know the algorithm but got WA [there are some stupid test cases]: 1) The case of the letters matters, 2) Characters '0', '1', ..., '9' are considered as alphabetic ones [not as white spaces], 3) Output 'Blank' only when no characters appear in the line. Finally I got A...
by kiha
Wed Jul 21, 2004 10:57 pm
Forum: Volume 1 (100-199)
Topic: 120 - Stacks of Flapjacks
Replies: 118
Views: 13468

Hi, I can't make out what's wrong with my program :/ I've tested it on all inputs I can think of, I consider the case that two pancakes have the same diameter, but it gives me WA in 0.000 Please help! Check my program or even give me some stupid input ;) [pascal] program miazio; var t, sort:array [1...
by kiha
Thu Jun 24, 2004 7:21 pm
Forum: Volume 101 (10100-10199)
Topic: 10137 - The Trip
Replies: 159
Views: 45508

Hi,

I don't understand why for input
15
0.01
0.01
0.01
0.01
0.01
0.01
0.01
0.01
0.01
0.01
0.01
0.01
0.01
0.01
0.03
there is answer $0.01. Can anybody explain it to me? Any help appreciated. Greetings!
by kiha
Thu May 06, 2004 3:40 pm
Forum: Volume 106 (10600-10699)
Topic: 10610 - Gopher and Hawks
Replies: 29
Views: 12812

Why does this get WA, I'm going sligtly mad ... [pascal] program miazio; const max = 10000; {} function odl (ax, ay, bx, by:real):real; begin odl:=sqrt (sqr (ax - bx) + sqr (ay - by)); end; {} type mia = record x, y:real; end; var t:array [1..max] of mia; kro:array [1..max] of longint; kolej:array [...
by kiha
Mon Apr 05, 2004 9:53 pm
Forum: Volume 104 (10400-10499)
Topic: 10474 - Where is the Marble?
Replies: 50
Views: 19402

I have WA, but I don't understand why ... I used quicksort & binary search. I knew there exists a quicker algorithm using counting sort , but I would like to know why this gives me WA: [pascal] program miazio; type mia = array [1..10000] of longint; var t:mia; i, j, k, l:longint; le, e, lz, z, kejs:...

Go to advanced search