Wrong Answer
Code
pen = "RGB"
report = []
N = int(input())
for i in range(N):
K = int(input())
if i % 2 == 0:
pen = pen[1] + pen[0] + pen[2]
else:
pen = pen[0] + pen[2] + pen[1]
report.append(pen)
[print(i) for i in report]
Information
- Submit By
- Type
- Submission
- Problem
- P1010 Red Green Blue
- Contest
- Brain booster - 1
- Language
- Python 3 (Python 3.12.3)
- Submit At
- 2023-12-31 13:32:46
- Judged At
- 2024-11-11 03:46:38
- Judged By
- Score
- 60
- Total Time
- 18ms
- Peak Memory
- 3.082 MiB