Search found 2 matches

by raiyan21
Mon Feb 18, 2013 12:36 am
Forum: Volume 11 (1100-1199)
Topic: 1197 - The Suspects
Replies: 8
Views: 4930

Re: 1197 - The Suspects

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 ...
by raiyan21
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.

Code: Select all

Code removed after AC
I got the mistake. thanks brianfry :)

Go to advanced search