Search found 5 matches
- Wed Mar 03, 2010 1:31 pm
- Forum: Volume 2 (200-299)
- Topic: 208 - Firetruck
- Replies: 48
- Views: 24677
Re: 208 Firetruck WA
I've found the bug, and got Aced.
- Wed Mar 03, 2010 12:01 pm
- Forum: Volume 2 (200-299)
- Topic: 208 - Firetruck
- Replies: 48
- Views: 24677
208 Firetruck WA
I use backtrack to get the path, and pruning the nodes that cannot get to the dest. But I always get WA, could anybody give me some critical I/O?
here is my code below:
here is my code below:
Code: Select all
removed after ACed.
- Thu Feb 11, 2010 9:26 pm
- Forum: Volume 6 (600-699)
- Topic: 624 - CD
- Replies: 77
- Views: 46250
Re: 624 - CD
could somebody give some more critical I/O? I just cannot find where am wrong!
- Thu Feb 11, 2010 6:55 am
- Forum: Volume 6 (600-699)
- Topic: 624 - CD
- Replies: 77
- Views: 46250
Re: Get WA, Need Help!!!
Could anybody help me? I've passed all the test case in this post, but still get WA. I use dp and assumu N < 20000
here is my code.
#include <stdio.h>
#include <string.h>
int track[21];
int N,cnt;
int d[20000][21];
int dp(int cur, int s)
{
int& ans = d[cur][s];
if(ans)return ans;
if(s == cnt ...
here is my code.
#include <stdio.h>
#include <string.h>
int track[21];
int N,cnt;
int d[20000][21];
int dp(int cur, int s)
{
int& ans = d[cur][s];
if(ans)return ans;
if(s == cnt ...
- Mon Feb 01, 2010 6:28 pm
- Forum: Bugs and suggestions
- Topic: "10954 Add All" state is always "In judge queue"
- Replies: 1
- Views: 3130
"10954 Add All" state is always "In judge queue"
I submit several times, but the state is always "in judge queue". Is there something down?