Search found 2 matches

by rushafi
Sun Nov 11, 2007 12:12 pm
Forum: Volume 3 (300-399)
Topic: 330 - Inventory Maintenance
Replies: 26
Views: 10544

My code passed all the test cases above, but I am getting WA. Can anybody help?

#pragma warning(disable:4786)

#include<cstdio>
#include<string>
#include<cstring>
#include<vector>
#include<map>
#include<algorithm>



using namespace std;

struct type{
string name;
char name2[20];
double cost ...
by rushafi
Sun Oct 01, 2006 1:07 pm
Forum: Volume 102 (10200-10299)
Topic: 10200 - Prime Time
Replies: 202
Views: 96764

whats the prob?

i am getting WA over and over again. I've tested some of Minilek's cases and found some fault. Actually the answer is too near. I am unable to find the problem so far.

A little help will be very much appriciated.

here is 3 test cases 4 xample:

3957 8978
8138 9707
843 8651

my ans:

38.53
37.07 ...

Go to advanced search