## Search found 6 matches

Tue Nov 12, 2013 6:05 pm
Forum: Volume 125 (12500-12599)
Topic: 12593 - Next Generation Macaw
Replies: 2
Views: 1030

### Re: RE 12593

I am not sure why my code do not match the first case given here. I have used the following recurrence:- f(1) = f(2) = 2 f(n) = SUM(f(n-i)) ; 2 <= i <= k for n > 2 Here is my code: #include <cassert> #include <algorithm> #include <cctype> #include <cmath> #include <cstdio> #include <cstdlib> #includ...
Wed Jul 03, 2013 3:04 am
Forum: Volume 115 (11500-11599)
Topic: 11518 - Dominos 2
Replies: 24
Views: 8797

### Re: 11518 - Dominos 2

Thanks brianfry713.
Wed Jul 03, 2013 12:54 am
Forum: Volume 115 (11500-11599)
Topic: 11518 - Dominos 2
Replies: 24
Views: 8797

### Re: 11518 - Dominos 2

I am getting WA, I am not sure why.

Here is my code:

Code: Select all

``````// removed after AC
``````
Wed May 29, 2013 2:36 pm
Forum: Volume 102 (10200-10299)
Topic: 10245 - The Closest Pair Problem
Replies: 92
Views: 11289

### Re: 10245 - The Closest Pair Problem

I think there is a mistake in the problem statement. Out specification says - If there is no such two points in the input whose distance is less than 10000, print the line INFINITY. This means for a set of points if minimum distance is 10000.0000 output should be "INFINITY" . But my code that prints...
Mon Mar 25, 2013 10:52 pm
Forum: Volume 101 (10100-10199)
Topic: 10196 - Check The Check
Replies: 77
Views: 24099

### Re: 10196 - Check The Check

Hi I have tested my code with all cases provide in this forum. But I am getting WA. Please help me to find out what I am doing wrong. Here is my code - #include <algorithm> #include <cctype> #include <cmath> #include <cstdio> #include <cstdlib> #include <cstring> #include <deque> #include <iostream>...
Tue Feb 19, 2013 10:46 pm
Forum: Volume 102 (10200-10299)
Topic: 10205 - Stack 'em Up
Replies: 60
Views: 23322

### Re: 10205 - Stack 'em Up

I am getting WA. I have tested it with sample I/O and other I/O from this forum, it works as expected. But judge says my program is Wrong. Here is my code - #include <algorithm> #include <cctype> #include <cmath> #include <cstdio> #include <cstdlib> #include <cstring> #include <deque> #include <iost...