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)-:FLOW009 Problem - CodeChef
(Problem)-: Output is correct still the status showing -: wrong answer

2
1000 1000
100000 100000
1 Like

please see my code :grinning:

1 Like

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

1 Like