Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
string isn't c++ built in type
Hi, I'm a beginner and still learning.
Can i ask why did you include the string library?
Thanks
logical or operator
Coincidentally
This comment is hidden because it contains spoiler information about the solution
太特么聪明了!膜拜~
whats the logic behind it?? pls :(
I don’t think we need to judge to divide by 0. When an incorrect parameter is entered, an error message should be displayed, prompting the inputter that the parameter is incorrect. Otherwise, people who use the function will think that 0 is also a valid divisor. Unless the requirements clearly indicate the need for compatibility with a divisor of 0. :)
When
big
is0
, an error will be reported, and this answer is not completely correct.same answer! >v<
I thought my code was the shortest. I didn't expect yours to be shorter, and you didn't even use variables. (Except
i
)The explanation was great, and all my doubts were solved!
这个方法很棒,可以减少循环的次数。
Space input position changed, almost can't recognize
膜拜大佬。。。
Loading more items...