I am getting WA. I tried hard to find the bug. But I failed. Here is my code.
#include <iostream>
#include <cstdio>
#include <algorithm>
#include <cstring>
#include <string>
#include <cctype>
#include <stack>
#include <queue>
#include <list>
#include <vector>
#include <map>
#include <sstream ...
Search found 2 matches
- Mon Feb 18, 2013 12:36 am
- Forum: Volume 11 (1100-1199)
- Topic: 1197 - The Suspects
- Replies: 8
- Views: 4930
- Wed Jan 30, 2013 12:14 pm
- Forum: Volume 9 (900-999)
- Topic: 924 - Spreading The News
- Replies: 17
- Views: 13987
Re: 924 - Spreading the News
My code gives correct output for every input case described here and in the problem statement. But still WA. Someone please help. Here is my code.
I got the mistake. thanks brianfry 
Code: Select all
Code removed after AC
