Search found 20 matches

by hiloshi
Wed Jul 27, 2005 2:50 pm
Forum: Volume 3 (300-399)
Topic: 320 - Border
Replies: 24
Views: 2272

Plzzzz

Please help me.
I really confuse.
by hiloshi
Tue Apr 26, 2005 11:09 am
Forum: Volume 3 (300-399)
Topic: 320 - Border
Replies: 24
Views: 2272

320 - Boarder

I got WA, but I can't make out where is wrong in my code. This problem looks very easy, and my code actually pass many test cases. I'm really going to get mad. :evil: plz help me someone! Here is my code. #include <iostream> #include <string> using namespace std; #define MAX 32 char result[MAX][MAX]...
by hiloshi
Sat Oct 02, 2004 7:26 pm
Forum: Volume 7 (700-799)
Topic: 706 - LCD Display
Replies: 221
Views: 34262

hi randomtaiwanese. I think you don't need to use such many function, sould use the Display Number template instead. Try to draw some Display Number by hands. For example, when the Number is 3 and Size is 1, it is represented by follow. .-. ..| .-. ..| .-. "." represents a space. Then you should thi...
by hiloshi
Sat Oct 02, 2004 7:09 pm
Forum: Volume 2 (200-299)
Topic: 271 - Simply Syntax
Replies: 46
Views: 12259

try this.

Code: Select all

EppIqq
You should output "Yes".
by hiloshi
Thu Sep 30, 2004 7:07 pm
Forum: Volume 2 (200-299)
Topic: 299 - Train Swapping
Replies: 81
Views: 10883

hi vadiu.

Problem says, "0 <= L <= 50".
So the input maybe a zero.
This is that shamim has also said.
by hiloshi
Thu Sep 30, 2004 6:54 pm
Forum: Volume 1 (100-199)
Topic: 103 - Stacking Boxes
Replies: 200
Views: 19168

hi wipper. Your program is almost always correct, but maybe have a bit bug. Try following case(X): 3 3 1 1 1 1 2 2 1 3 3 Your output is 1, and it is correct. But try following another case(Y): 5 2 3 7 8 10 5 2 9 11 21 18 8 6 5 2 20 1 30 10 23 15 7 9 11 3 40 50 34 24 14 4 9 10 11 12 13 14 31 4 18 8 2...
by hiloshi
Thu Sep 30, 2004 6:41 pm
Forum: Other words
Topic: What's wrong with my stats ?
Replies: 14
Views: 3609

hi wolf, and tetuya.

My status have became normal again.
Thank you for admins, and my friend :D
by hiloshi
Thu Sep 30, 2004 12:24 pm
Forum: Other words
Topic: Admins: ID error
Replies: 5
Views: 2102

me too.

My ID changed 47401 to 47400....

Please return My ID, anyone, please....
by hiloshi
Wed Sep 29, 2004 7:30 am
Forum: Volume 1 (100-199)
Topic: 125 - Numbering Paths
Replies: 56
Views: 5547

hi sohel. I used Floyd too, and got WA. So I check following test case: 6 0 1 0 2 1 2 2 3 3 2 3 4 Output shoud be follow: matrix for city 0 0 1 -1 -1 -1 0 0 -1 -1 -1 0 0 -1 -1 -1 0 0 -1 -1 -1 0 0 0 0 0 But My first program outputed follow: matrix for city 0 0 1 -1 -1 4 0 0 -1 -1 2 0 0 -1 -1 -1 0 0 -...
by hiloshi
Sun Sep 26, 2004 3:10 pm
Forum: Volume 1 (100-199)
Topic: 107 - The Cat in the Hat
Replies: 278
Views: 19499

hi yiuyuho. I have got WA, so I checked output for your input. Follow case: 390625 65535 I couldn't get any answer. It's more than probable that program run for endless loop becase it can't find the value of N. But I got Accept now. I think your input is invalid. This problem is undifficult, but eve...
by hiloshi
Sun Sep 26, 2004 12:07 pm
Forum: Volume 107 (10700-10799)
Topic: 10705 - The Fun Number System
Replies: 14
Views: 4090

sorry...

hi kisow.

I edit my replay and fix my mistake.
Thanks for your sharp shooting.
by hiloshi
Thu Sep 02, 2004 1:27 pm
Forum: Volume 107 (10700-10799)
Topic: 10705 - The Fun Number System
Replies: 14
Views: 4090

hi. I got ACCEPT, and I'll give you test data. here is input: 36 4 ppnn 10 4 nnpp -10 4 pppp 10 4 ppnn 6 1 p 1 9 pnppnnnnn 332 11 pppnppnnnnn 332 3 ppp 0 2 nn -2 9 ppppppppn 255 20 pppnnppnnnnpppnpnppp 894632 1 n 0 1 p 0 1 p 1 1 n -1 3 ppp 4 4 pppp 15 3 pnp -1 3 pnp 3 50 pnnnnnnnnnnnnnnnnnnnnnnnnnnn...
by hiloshi
Tue Aug 31, 2004 3:01 pm
Forum: Volume 7 (700-799)
Topic: 751 - Triangle War
Replies: 17
Views: 7627

hi.

Although I haven't read probelm 751 yet, there is a clear bug.
[cpp]
int y=0;
int z=6/y;
[/cpp]
This code always set Y for 0.
You cannot divide by 0 anytime.
So, you recieved SIGFPE, I think so.

If I'm wrong, so sry.
by hiloshi
Tue Aug 31, 2004 2:49 pm
Forum: Volume 5 (500-599)
Topic: 574 - Sum It Up
Replies: 46
Views: 13813

Re: 574 Sum It Up. WA can you tell me some inputs?

hi. I got accept after some WA, but I think this problem is easy and simple. Cause of your WA might a very little bug. And... Thank you for your reply :D :D I read this following passage. and X1,...,Xn will be positive integers less than 100. and , 999 1 999 is invalid input,isnt it? Yes, you are ri...
by hiloshi
Mon Aug 30, 2004 5:27 pm
Forum: Algorithms
Topic: big numbers
Replies: 4
Views: 2287

I created the Big-num library by c++, too. I use array of short for Big number. Becase short value has maximum 4 digit(and it's not character, but in decimal). I make recommendation of using an array of short to you. But array of short is not easy to output ... you should be careful for zero digit o...

Go to advanced search