1
0
mirror of https://github.com/renbaoshuo/202401-programming-assignments.git synced 2024-12-16 15:44:39 +00:00
202401-programming-assignments/【实践课外】3.选择结构2/7-3 选择-糖果.c

16 lines
217 B
C

#include <stdio.h>
int main() {
int n, m;
scanf("%d%d", &n, &m);
if (n >= m + 1 && n % (m + 1) == 0) {
printf("Second win\n");
} else {
printf("First win\n");
}
return 0;
}