Search found 6 matches
- Thu May 29, 2003 7:02 am
- Forum: Volume 104 (10400-10499)
- Topic: 10496 - Collecting Beepers
- Replies: 19
- Views: 13895
- Tue May 27, 2003 3:19 pm
- Forum: Volume 104 (10400-10499)
- Topic: 10496 - Collecting Beepers
- Replies: 19
- Views: 13895
10496
Hello,
i got TLE for this program.
i use BFS to find the shortest path.
is my algorithm is wrong?
pls help me.
i got TLE for this program.
i use BFS to find the shortest path.
is my algorithm is wrong?
pls help me.

- Tue May 06, 2003 5:17 pm
- Forum: Off topic (General chit-chat)
- Topic: How old are you? Statistics.
- Replies: 121
- Views: 195412
- Mon Apr 28, 2003 4:27 pm
- Forum: Volume 102 (10200-10299)
- Topic: 10212 - The Last Non-zero Digit.
- Replies: 63
- Views: 41420
10212
Hello, i donot know why this program is TLE ?.
Is there anybody to help me.
sory for the code.
if my algorithm is wrong tell me the right one.
here is the code:-
-----------------------
#include<stdio.h>
long mod(long h)
{
while(h%10==0)
{
h/=10;
if(h==0)break;
}
return h%10;
}
int main ...
Is there anybody to help me.
sory for the code.
if my algorithm is wrong tell me the right one.
here is the code:-
-----------------------
#include<stdio.h>
long mod(long h)
{
while(h%10==0)
{
h/=10;
if(h==0)break;
}
return h%10;
}
int main ...
- Mon Apr 21, 2003 6:46 am
- Forum: Volume 104 (10400-10499)
- Topic: 10477 - The Hybrid Knight
- Replies: 19
- Views: 8330
- Sun Apr 20, 2003 11:30 am
- Forum: Volume 104 (10400-10499)
- Topic: 10477 - The Hybrid Knight
- Replies: 19
- Views: 8330
10477
Hello, i solve the problem 10477. but i got TLE.
Who can i overcome it.
May be my algorithm is Bad. Is their anybody who provide me a good algorithm ?
Who can i overcome it.

May be my algorithm is Bad. Is their anybody who provide me a good algorithm ?