Search found 45 matches

by El-idioto
Sun May 28, 2006 12:46 pm
Forum: Volume 1 (100-199)
Topic: 169 - Xenosemantics
Replies: 18
Views: 9672

@MF
Could you email me your source code? I will try to fix both our programs (and mail you back the changes I made to your program to fix your bugs).

This way, I can generate 1000s of inputs and test against both our programs to see why I get WA.
by El-idioto
Sun May 28, 2006 10:32 am
Forum: Volume 1 (100-199)
Topic: 169 - Xenosemantics
Replies: 18
Views: 9672

@MF Your solutions aren't correct! (?) Input: a- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
by El-idioto
Sat May 27, 2006 12:25 pm
Forum: Volume 1 (100-199)
Topic: 169 - Xenosemantics
Replies: 18
Views: 9672

Could someone please test these inputs? a- x- ba- x- ba a- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
by El-idioto
Tue May 23, 2006 7:32 pm
Forum: Volume 1 (100-199)
Topic: 169 - Xenosemantics
Replies: 18
Views: 9672

Consider the following input: skdgh jksdfgjhsgdfjhgasdjfg jksfgjkhasg dfkjg asdfkja sd- sadf khasdfjgas dfgasdjfg sjadfkasdvjhcxbjgskjehiouwahba- sduywa4tbmdfnbvjgweknbsknbgajsgdjbfasdhfb87234rnbcv 34%- sdkufawkbzkjhgjzshgkgsafjgsad According to junbin and Per this results in: sgdfj asdjf sfgj jgasd...
by El-idioto
Mon May 22, 2006 3:16 am
Forum: Volume 1 (100-199)
Topic: 169 - Xenosemantics
Replies: 18
Views: 9672

@mf

Aha, ok... now I understand the problem. Many, many thanks for clearing this up for me. I'll get on it :)
by El-idioto
Sun May 21, 2006 10:57 am
Forum: Volume 1 (100-199)
Topic: 169 - Xenosemantics
Replies: 18
Views: 9672

Ok, I must be extremely dumb, but I don't understand this problem at all.

The example

Code: Select all

#abcdabcd-
#abcd
results in

Code: Select all

abc
bcd
cda
dab
*
Why isn't ab a word?
Why isn't abcd a word?
Why isn't abcda a word?

Could someone please help me and explain this problem?
by El-idioto
Sun May 21, 2006 10:31 am
Forum: Volume 1 (100-199)
Topic: 158 - Calendar
Replies: 44
Views: 7391

@Silvia I think there might be a sneaky input. I also get WA (and yes, I did try all the examples on the board). Could someone who got AC give the examples used to test their program? #include <cstdio> // The base types #ifdef WIN32 typedef __int8 int8; typedef __int16 int16; typedef __int32 int32; ...
by El-idioto
Tue May 09, 2006 7:21 pm
Forum: Volume 1 (100-199)
Topic: 166 - Making Change
Replies: 31
Views: 5575

@Krzysztof Duleba

Your program is wrong.

The answer for entry 125 in your list is wrong:

0 5 1 0 1 9 1.55

Correct answer is 4, but your app gives 3.
by El-idioto
Thu Mar 25, 2004 6:56 pm
Forum: Volume 1 (100-199)
Topic: 162 - Beggar My Neighbour
Replies: 31
Views: 4906

My TLE app can solve about 250000 inputs in 10 seconds on my Athlon 2200. I can scarcely believe my app is too slow. Unfortunately, it is possible to have a cycle in the game. One such a cycle is: ST S8 C6 C6 ST HT D6 D6 DK H2 D6 D5 D2 H3 C8 H8 D5 H3 HT CJ S5 D2 H7 H7 SK ST D3 D9 H3 S9 C3 CT C6 S8 S...
by El-idioto
Fri Mar 19, 2004 5:22 pm
Forum: Volume 1 (100-199)
Topic: 161 - Traffic Lights
Replies: 28
Views: 3894

Almost human,

There shouldn't be any output for your example.
by El-idioto
Thu Mar 18, 2004 12:50 am
Forum: Volume 1 (100-199)
Topic: 158 - Calendar
Replies: 44
Views: 7391

I have the same output for the inputs stated above, but still get WA. Could someone with an AC program check my program? Alternatively, if you have an AC program, please send me the (Windows) executable.[cpp]// @JUDGE_ID: 33444KK 158 C++ // // 158_Calendar: Show today's events and the events which a...
by El-idioto
Tue Mar 16, 2004 10:11 pm
Forum: Volume 1 (100-199)
Topic: 157 - Route Finding
Replies: 17
Views: 2599

Paul: Brilliant example... I had the exact same output as Pokute, and managed to fix my problem using the example. Thanks a lot!!! Pokute: I noticed you use a LOT of memory... I implemented this problem by using linked lists. Although it was quite a bit more complex than using arrays, it will assure...
by El-idioto
Thu Mar 11, 2004 3:06 am
Forum: Volume 1 (100-199)
Topic: 153 - Permalex
Replies: 32
Views: 12767

Ok, I figured out how to fix it. You have to use 'ull' after a 64-bit number. Example: 2^50 = 1125899906842624ull *** ORIGINAL POST *** Can someone who uses the same compiler as the online judge please compile my code? I use g++ v3.3.1 to compile my apps (using Cygwin). Unfortunately, g++ gives me t...
by El-idioto
Tue Mar 02, 2004 7:07 pm
Forum: Volume 1 (100-199)
Topic: 145 - Gondwanaland Telecom
Replies: 62
Views: 6946

:evil: :o :x I now know what my problem was!!! :evil: :o :x The scanf function (which I don't know all that well) differs from the printf function (which I know really well). I always use printf("%i", 5); I never use printf("%d", 5); In printf, these two lines do exactly the same thing. In scanf, th...
by El-idioto
Thu Feb 26, 2004 8:29 pm
Forum: Volume 1 (100-199)
Topic: 142 - Mouse Clicks
Replies: 58
Views: 5987

Hmmm... I checked your code quickly, and it looks very similar to my AC program (we do the same operations). I don't know why your algorithm fails. Here is my code. You can check more thoroughly where our programs differ. [cpp]// @JUDGE_ID: 33444KK 142 C++ // // 142_MouseClicks: Determine what regio...

Go to advanced search