Status Confusion

#include
#include
using namespace std;

int main() {
// your code goes here
int n;
int a,b;
cin>>n;
for(int i=0;i<n;i++)
{
cin>>a>>b;
float c=a*b;
if(a>1000)
{
c-=c/10;
cout<<fixed<<setprecision(6)<<c<<endl;
}
else if(a<1000)
{
cout<<fixed<<setprecision(6)<<c<<endl;
}
}

return 0;

}
(Question)-:Contest Page | CodeChef
(Problem)-: Output is correct still the status showing -: wrong answer

2
1000 1000
100000 100000
1 Like

https://www.codechef.com/submit/FLOW009
please see my code :grinning:

1 Like

Yeah I got it :grinning: thank you very much .

1 Like