/ SeriousOJ /

Record Detail

Wrong Answer


  
# Status Time Cost Memory Cost
#1 Accepted 15ms 2.969 MiB
#2 Accepted 15ms 2.891 MiB
#3 Wrong Answer 18ms 3.082 MiB
#4 Accepted 18ms 3.02 MiB
#5 Wrong Answer 18ms 2.949 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:46
Judged At
2024-11-11 03:46:38
Judged By
Score
60
Total Time
18ms
Peak Memory
3.082 MiB