Need Help

ATM:http://www.codechef.com/problems/HS08TEST
My code runs well for all the test cases and even in the codechef ide but getting a wrong answer when i try to submit it.

#include
#include

int main()
{
unsigned int x;
double y;
std::cin>>x>>y;
if(x<y && x%5 == 0)
{
y=y-x;
y=y-0.5;
}
std::cout << std::fixed;
std::cout << std::setprecision(2) << y << ‘\n’;
return 0;
}

Check for the test case 30 30.30 … Your code gives -0.20 whereas it should give 30.30…