Search found 6 matches

by free
Sun Oct 03, 2010 7:25 am
Forum: Volume 111 (11100-11199)
Topic: 11198 - Dancing Digits
Replies: 16
Views: 8104

I can't understand the problem

hi, i read the problem, but i can't understand what it mean.

could anyone explain the sample input and the sample out to me ?

thanks in advance.
by free
Fri Oct 01, 2010 12:49 pm
Forum: Volume 7 (700-799)
Topic: 704 - Colour Hash
Replies: 23
Views: 13391

i can't pass the sample input

hello, i use bfs, first from the target to serch depth=7, and then, search from the beginning. during the second bfs, everytime i check whether the state has appeared. at the same time, i use hash. so, why i even can't pass the sample input. could someone help me ? thank in advance? this is my code,...
by free
Tue Sep 28, 2010 2:43 pm
Forum: Volume 3 (300-399)
Topic: 310 - L--system
Replies: 29
Views: 8679

problem 310, i got TLE

hi, i use BFS to solve this problem. since the max length is not longer than 15, than we can record all the states, also, we must record the length of the string,(because the w string may be shorter than the goal string). In this way, i use vis[maxstate][15+2],(maxstate=70000). But i always get TLE,...
by free
Sun Sep 12, 2010 1:05 pm
Forum: Volume 100 (10000-10099)
Topic: 10054 - The Necklace
Replies: 62
Views: 31284

10054 The Necklace

hi, i have tested a lot of testcases, and i got the right answer. but when i submit i got TLE, could someone help me? thx this is my code: #include<stdio.h> #include<string.h> #include<stdlib.h> #include<math.h> #include<ctype.h> #include<iostream> using namespace std; #define MAX1 50+5 int tc; int ...
by free
Thu Sep 09, 2010 6:49 pm
Forum: Volume 100 (10000-10099)
Topic: 10047 - The Monocycle
Replies: 20
Views: 6067

10047 The Monocycle,,help me !!

Hi, i tested a lot of testcases and got the same as its output.but when i submit,it always WA. i am puzzling... can anyone give me some hard testcase or help me find out my wrong place? thx . this is my code, you can test the datas with it can find out my wrong place? thx . #include<stdio.h> #includ...
by free
Mon Aug 16, 2010 4:08 am
Forum: Volume 102 (10200-10299)
Topic: 10250 - The Other Two Trees
Replies: 6
Views: 4560

10250 The Other Two Trees,ask for help.

for this problem,i have thought for a whole night,maybe i got the ideal, but i still cannot wrte out the code.

that is i cannot express my ideal with code, could somebody tell me the core code?

thanks in advance.

Go to advanced search