返回小组 开始 2025-04-30 14:00:00

if训练

结束 2025-04-30 17:00:00
Contest is over.
当前 2025-05-15 01:06:38

b

include <stdio.h>

int main() {

int n;
scanf("%d", &n);
if (n % 3 == 0 && n % 7 == 0) {
	printf("%d", n / 7);
} else {
	printf("%d", -1);
}
return 0;

}


12345G6  •  14天前

比赛已结束。