Home > Back-end >  Pray god to help
Pray god to help

Time:06-05

Great god answer, the question is wrong many times, I do not know where I went wrong,

CodePudding user response:

Include didn't write, what's the problem with the compilation errors and run results coming

CodePudding user response:

Problem is to compile or run,

CodePudding user response:

I run in the vc + + again, can run

CodePudding user response:

You remove the return 0, this thing and useless,

CodePudding user response:

Wrote the include, show is the answer wrong, compile errors

CodePudding user response:

The
reference 3 floor Chef Liu reply:
I run again, in the vc + + can run

I can't, as you remove the return 0, an error by the PTA, show the answer wrong

CodePudding user response:

refer to 6th floor weixin_45864703 response:
Quote: refer to the third floor Chef Liu reply:
I run again, in the vc + + can run

I can't, as you remove the return 0, in PTA there error, show the answer wrong

You put int main with void main

CodePudding user response:

Wrong answer, you put the test sample,

Receives a double a, b, the result is an int type,

N=a/b + 1;//the question of whether or not to consider the decimal?

CodePudding user response:

refer to 7th floor Chef Liu reply:
Quote: refer to the sixth floor weixin_45864703 response:
Quote: refer to the third floor Chef Liu reply:
I run again, in the vc + + can run

I can't, as you remove the return 0, in PTA there error, show the answer wrong

You put int main with void main

Also not line, can you look at the title, this show is the answer wrong many times

CodePudding user response:

I know what to do, is I do wrong y=% d \ n this place, should be changed to % d

CodePudding user response:

Thanks for your help, really thank you

CodePudding user response:

I hope it can help you: https://blog.csdn.net/it_xiangqiang/category_10581430.html
I hope it can help you: https://blog.csdn.net/it_xiangqiang/category_10768339.html
  • Related