I still get WA :(. I passed all the 11 cases given by Nick and got the same answers as Larry. Can someone help me? Is my output format wrong (I copied directly from problem statement) ?
#include <iostream>
#include <algorithm>
#include <vector>
#include <algorithm>
using namespace std;
int t,N,L ...
Search found 2 matches
- Mon Dec 20, 2010 4:33 pm
- Forum: Volume 2 (200-299)
- Topic: 231 - Testing the CATCHER
- Replies: 53
- Views: 24883
- Mon Dec 20, 2010 2:54 pm
- Forum: Volume 103 (10300-10399)
- Topic: 10360 - Rat Attack
- Replies: 19
- Views: 49786
Re: 10360 - Rat Attack
Can someone help me and see what's wrong with my code? I keep getting WA but i dont know why. Or can someone give me more sample input?
#include <iostream>
#include <cstdio>
#include <cstring>
#define L 1025
using namespace std;
int T,D,N,X,Y,P;
long long int S[1050][1050],G[1050][1050],R[1050 ...
#include <iostream>
#include <cstdio>
#include <cstring>
#define L 1025
using namespace std;
int T,D,N,X,Y,P;
long long int S[1050][1050],G[1050][1050],R[1050 ...