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

if训练

结束 2025-04-30 17:00:00
Contest is over.
当前 2025-07-01 22:31:40

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  •  2个月前

比赛已结束。