c语言求助,60分
查看原帖
c语言求助,60分
934816
Lyricsy楼主2023/2/2 21:49
int main()
{
	int m, n, a, b, c, i, j, t, x;
	scanf("%d %d", &x, &n);
	t = 0;
	for (i = x; i < x + n; i++)
	{
		if (i % 6 != 0 && i % 7 != 0)
			t++;
	}
	printf("%d", 250 * t);
	return 0;
}```
2023/2/2 21:49
加载中...