/ SeriousOJ /

Record Detail

Wrong Answer


  
# Status Time Cost Memory Cost
#1 Accepted 21ms 3.074 MiB
#2 Accepted 22ms 3.078 MiB
#3 Wrong Answer 24ms 3.152 MiB
#4 Accepted 25ms 3.078 MiB
#5 Wrong Answer 25ms 3.008 MiB

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:19
Judged At
2024-10-03 14:06:34
Judged By
Score
60
Total Time
25ms
Peak Memory
3.152 MiB