#Repairing

MySQL Error number: MY-010753; Symbol: ER_FOUND_ROWS_WHILE_REPAIRING; SQLSTATE: HY000

文档解释Errornumber:MY-010753;Symbol:ER_FOUND_ROWS_WHILE_REPAIRING;SQLSTATE:HY000Message:Found%sof%srowswhenrepairing‘%s’错误说明:MySQL中ER_FOUND_ROWS_WHILE_...

Doors Breaking and Repairing

题目链接:DoorsBreakingandRepairing题目大意:有n个门,先手攻击力为x(摧毁),后手恢复力为y(恢复),输入每个门的初始“生命值”,当把门的生命值攻为0时,就无法恢复了。问:最多可以把几个门的生命值攻为0。思路:(1)当x>y的时候肯定所有的门的生命值都能降为0;   (2)当x<=...
代码星球 ·2020-12-27