Accepted
Code
for _ in range(int(input())):
k = int(input())
rgb = ["RGB","GRB","GBR","BGR","BRG","RBG"]
if k%6 == 0:
print(rgb[0])
else:
print(rgb[k%6])
Information
- Submit By
- Type
- Submission
- Problem
- P1010 Red Green Blue
- Language
- Python 3 (Python 3.12.3)
- Submit At
- 2024-01-06 20:14:26
- Judged At
- 2024-11-11 03:43:46
- Judged By
- Score
- 100
- Total Time
- 19ms
- Peak Memory
- 3.129 MiB