小内存写法
2026-07-30 19:38:17
发布于:上海
19阅读
0回复
0点赞
#include<cstdio>
using namespace std;
int main(){
short n,m,b=0;
scanf("%hd%hd",&n,&m);
while(n-m>=b){
n-=m+b;
b++;
}
printf("%hd",b);
return 0;
}
全部评论 1
这辈子都没见过这么小的内存!
4天前 来自 浙江
0














有帮助,赞一个