Wrong Answer
Code
#include <stdio.h>
int main()
{
int N,i;
scanf("%d",&N);
if (N >= 1 && N <= 100)
{
for (i = 0; N!=0; i++)
{
if (N % 2 == 0)
{
N=N-2;
}
else
{
N=N-3;
}
}
printf("%d\n",i-1);
}
}
Information
- Submit By
- Type
- Submission
- Problem
- P1106 too easy or three easy
- Contest
- Brain Booster #6
- Language
- C11 (GCC 13.2.0)
- Submit At
- 2024-10-03 15:41:54
- Judged At
- 2024-12-17 11:36:19
- Judged By
- Score
- 10
- Total Time
- 1ms
- Peak Memory
- 380.0 KiB