Wrong Answer
Code
#include<stdio.h>
int main()
{
int n,i;
scanf("%d",&n);
if (n>=2 && n <=100)
{
for (i = 0; n !=0; i++)
{
if (n % 3 == 0)
{
n -= 3;
}
else
{
n -= 2;
}
}
printf("%d\n",i);
}
}
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:58:57
- Judged At
- 2024-12-17 11:35:37
- Judged By
- Score
- 40
- Total Time
- 0ms
- Peak Memory
- 324.0 KiB