Wrong Answer 5%

Emanuel Lucas asked 11 months ago

Já tentei de tudo mas não consigo, sempre falta 5%, se alguém puder ajudar.

include include include

using namespace std;

int main() {

int64_t v,n;
double result;


for (int64_t i = 1; i < 9; i++){
    result = (v*n)*0.1*i;
    cout<<fixed<<setprecision(0)<<ceil(result)<<" ";

result = (v*n)*0.9;


return 0;


This topic has not been answered yet. Be the first!

Remember not post solutions. Your post may be reviewed by our moderators.