1
0
mirror of https://github.com/renbaoshuo/202401-programming-assignments.git synced 2024-11-23 21:58:41 +00:00
202401-programming-assignments/【实践课外】3.选择结构2/7-3 选择-糖果.c

16 lines
217 B
C
Raw Normal View History

2024-10-23 03:12:50 +00:00
#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;
}