/ SeriousOJ /

Record Detail

Wrong Answer


  
# Status Time Cost Memory Cost
#1 Wrong Answer 0ms 324.0 KiB
#2 Wrong Answer 1ms 324.0 KiB

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:40
Judged At
2024-11-11 03:46:16
Judged By
Score
0
Total Time
1ms
Peak Memory
324.0 KiB