Chocolate Division*
Question
Solution
Idea
Code
https://github.com/mendax1234/Coding-Problems/blob/main/kattis/chocolatedivision/chocolatedivision.c
Last updated
Last updated
#include <stdio.h>
int main()
{
int r, c;
scanf("%d %d", &r, &c);
int total_cuts = r * c - 1;
if (total_cuts % 2 == 0)
{
printf("Beata\n");
}
else
{
printf("Alf\n");
}
}