Wrong Answer
Code
#include <stdio.h>
int main()
{
int T;
scanf("%d",&T);
while(T>0)
{
int K;
scanf("%d",&K);
if(K==1)
{
printf("GRB\n");
}
else if(K==2)
{
printf("GBR\n");
}
else
{
printf("BGR\n");
}
T--;
return 0;
}
}
Information
- Submit By
- Type
- Submission
- Problem
- P1010 Red Green Blue
- Contest
- Brain booster - 1
- Language
- C99 (GCC 13.2.0)
- Submit At
- 2023-12-31 14:30:39
- Judged At
- 2024-11-11 03:46:16
- Judged By
- Score
- 0
- Total Time
- 0ms
- Peak Memory
- 284.0 KiB