Search found 3 matches

by varagrawal
Sun Feb 05, 2012 3:29 pm
Forum: Volume 4 (400-499)
Topic: 445 - Marvelous Mazes
Replies: 93
Views: 21931

Re: 445 - Marvelous Mazes

@linux: Should your output say "I PWN NOOBS"? Coz the sample output you have given is ignoring the blank space in the 3rd line of the 3rd test case.
by varagrawal
Tue Nov 29, 2011 11:42 am
Forum: Volume 3 (300-399)
Topic: 355 - The Bases Are Loaded
Replies: 74
Views: 30624

Re: 355 - The Bases Are Loaded

My Java code satisfies all the conditions and O/Ps the correct answer for all given cases. Can anyone please tell me what is wrong with it?

import java.math.*;
import java.util.*;
import java.io.*;

public class Main{
public static void main(String[] args)
throws IOException
{
BufferedReader ...
by varagrawal
Sun Apr 24, 2011 10:58 pm
Forum: Volume 1 (100-199)
Topic: 116 - Unidirectional TSP
Replies: 226
Views: 65247

Re: 116 Help me

After the test input leave a space or two, or a carriage return in the input file. There is an extra output line with the previous case input.
Why is this?

My code:

#include<iostream>
#include<string>
#include<vector>
#include<set>
#include<bitset>
#include<algorithm>
#include<sstream>
#include ...

Go to advanced search