数字整除问题,但是一直超过时间限制 不知道怎么改才能减少循环时间
是不这样就可以了:
#include <stdio.h> int main() { int n, m; scanf("%d%d", &n, &m); printf("%d", n / m); return 0; }
你的代码呢