Search found 5 matches
- Fri Jan 10, 2014 9:27 pm
- Forum: Volume 8 (800-899)
- Topic: 859 - Chinese Checkers
- Replies: 14
- Views: 8118
Re: 859 - Chinese Checkers
i am getting wa..can anyone pls help??it run successfully with the input posted in this thread #include <iostream> #include <cstdio> #include <algorithm> #include <cstring> #include <string> #include <cctype> #include <stack> #include <queue> #include <list> #include <vector> #include <map> #include...
- Mon Jan 06, 2014 2:26 pm
- Forum: Volume 117 (11700-11799)
- Topic: 11770 - Lighting Away
- Replies: 27
- Views: 12534
Re: 11770 - Lighting Away
i've tested all the inputs that brianfry713 posted here and i've found no mistake.. i ran dfs in increasing order of indegree ..but i got wa again and again.. someone pls help :cry: #include <iostream> #include <cstdio> #include <algorithm> #include <cstring> #include <string> #include <cctype> #inc...
- Fri Jan 03, 2014 6:15 pm
- Forum: Volume 4 (400-499)
- Topic: 469 - Wetlands of Florida
- Replies: 63
- Views: 30096
Re:
Hi! Test with this cases: 2 LLLLLLLLL LLWWLLWLL LWWLLLLLL LWWWLWWLL LLLWWWLLL LLLLLLLLL LLLWWLLWL LLWLWLLLL LLLLLLLLL 3 2 7 5 LLLLLLLLL LLWWLLWLL 10 2 7 5 The correct output is: 12 4 0 0 You code have 12 4 0 2 I hope that is help you. i think your input is not valid..in problem statement it is clea...
- Sun Dec 22, 2013 5:53 pm
- Forum: Volume 3 (300-399)
- Topic: 318 - Domino Effect
- Replies: 12
- Views: 10453
Re: 318 Domino Effect
:evil: getting wa again and again..what's wrong in my code??somebody pls help... #include <iostream> #include <cstdio> #include <algorithm> #include <cstring> #include <string> #include <cctype> #include <stack> #include <queue> #include <list> #include <vector> #include <map> #include <sstream> #in...
- Sun Dec 22, 2013 9:49 am
- Forum: Volume 3 (300-399)
- Topic: 314 - Robot
- Replies: 30
- Views: 10428
Re: 314 - Robot
why wa??i've used simple bfs..someone pls help.. #include<iostream> #include<string> #include<algorithm> #include<cstdio> #include<set> #include<vector> #include<stack> #include<queue> #include<sstream> #include<cstring> #include<iomanip> #include<cmath> #include<map> #define loop(i,a,b) for (i=a;i<...