Back
Close

Codongame

Statement

 Goal

Your goal is to translate a genetic code into sequences of amino acids.

Let's name a triplet of characters in A, U, C, G a codon. Let's also name UAA, UAG and UGA the stop codons, and AUG the start codon.

You will be given n lines, each consisting of a string rna, and a codon_table in the stub comments. The codon_table contains every codon and their corresponding amino acid.

There are three possible translations. The translation process, for each of the three starting indices of rna: 0, 1 or 2, follows these steps:

0. Start in CLOSED state.
1. If in CLOSED state and the current codon is a start codon, transition to OPENED.
2. If in OPENED state and the current codon is a stop codon, transition to CLOSED and store the current sequence.
3. If in OPENED state, add the current amino acid from codon_table to the back of the current sequence.
4. Move 3 positions forward.
5. Repeat steps 1-4 until the entire rna string is translated.

Note that the sequences are only stored when scanning a stop codon (step 2). That implies that if, for a given index, the translation process terminates in an OPENED state, the current sequence is lost.

For all three starting indices return the translation that yields the most amino acids. If that translation consists of multiple sequences, return them joined by a -.

Example:

CCAUGCCCUAACCCA
--- | | | # (AUG) start codon: start (sequence = M).
--- | | # (CCC) not a stop codon (sequence = MP).
--- | # (UAA) is a stop codon, store sequence.
--- # (CCC) not a start codon: ignore.

Starting at index 0 or 1 yields no sequences.
The answer is just one sequence: MP, obtained for index 2.

NOTES:
- The given codon table follows the usual conventions and can be found here: https://en.wikipedia.org/wiki/DNA_and_RNA_codon_tables
- More detailed description: https://en.wikipedia.org/wiki/Translation_(biology)
- The cover picture is from: https://pdb101.rcsb.org/motm/121
Input
STUB: The codon_table, with every codon and their corresponding amino acid.
Line 1: An integer n for the number of strings. Each string is a separate case.
Next n lines: A string rna of characters in AUCG.
Output
n lines: The translated rna strings.
Constraints
0 < n < 20
5 < length(rna) < 2048

For each rna string a (non empty) solution exists and is guaranteed to be unique.
Example
Input
6
AUGUAA
CAUGUAA
CCAUGUAA
CCAUGCCCUAA
CCAUGCCCUAAC
CCAUGCCCUAACC
Output
M
M
M
MP
MP
MP

Tags
LoopsSimulationRegular expressions

Difficulty
Easy

Test cases
1. Example Test
Input
6 AUGUAA CAUGUAA CCAUGUAA CCAUGCCCUAA CCAUGCCCUAAC CCAUGCCCUAACC
Output
M M M MP MP MP

1. Example (val) Validator
Input
6 AUGUAA AAUGUAA AAAUGUAA AAAUGAAAUAA AAAUGAAAUAAA AAAUGAAAUAAAA
Output
M M M MK MK MK

2. Endings Test
Input
3 CAUGGGGUAAC CAUGGGGUAGC CAUGGGGUGAC
Output
MG MG MG

2. Endings (val) Validator
Input
3 AAUGGGGUAAA AAUGGGGUAGA AAUGGGGUGAA
Output
MG MG MG

3. Small Test
Input
12 AUGCCCAUGCCCUGACCCUGA AUGCCCUGACCCAUGCCCUGA AUGAUGAUGCCCUGACC AUGAUAUGAUGA AUGAUAACAUGAUAA CAUGAUAACAUGAUGA AUGCCCCCCCCCCCCUGA CAUGCCCCCCCCCCCUGACUGA CCAUGCCCCCCCCCCUGACCUGA UGAUAAUGAAUGUGA CUGAUAAUGAAUGUGA CCUGAUAAUGAAUGUGA
Output
MPMP MP-MP MMMP MI MIT MIT MPPPP MPPPPD MPPPLT M M M

3. Small (val) Validator
Input
12 AUGAAAAUGAAAUGAAAAUGA AUGAAAUGAAAAAUGAAAUGA AUGAUGAUGAAAUGAAA AUGAUAUGAUGA AUGAUAAAAUGAUAA AAUGAUAAAAUGAUGA AUGAAAAAAAAAAAAUGA AAUGAAAAAAAAAAAUGAAUGA AAAUGAAAAAAAAAAUGAAAUGA UGAUAAUGAAUGUGA AUGAUAAUGAAUGUGA AAUGAUAAUGAAUGUGA
Output
MKMK MK-MK MMMK MI MIK MIK MKKKK MKKKNE MKKKMK M M M

4. Correct length Test
Input
10 AUGAUGAUGUGACAUGUGAAUGUGACAUGUGAAUGUGA AUGAUGAUGUGACAUGUGAAUGUGACAUGUGA CAUGAUGAUGUGACAUGUGAAUGUGACAUGUGA CCAUGAUGAUGUGACAUGUGAAUGUGACAUGUGA AUGAUGAUGUGACAUGUGACAUGUGAAUGUGA CAUGAUGAUGUGACAUGUGACAUGUGAAUGUGA CCAUGAUGAUGUGACAUGUGACAUGUGAAUGUGA AUGAUGAUGAUGUGACAUGUGACAUGUGAAUGUGAAUGUGA CAUGAUGAUGAUGUGACAUGUGACAUGUGAAUGUGAAUGUGA CCAUGAUGAUGAUGUGACAUGUGACAUGUGAAUGUGAAUGUGA
Output
MMM MMM MMM MMM MMM MMM MMM MMMM MMMM MMMM

4. Correct length (val) Validator
Input
10 AUGAUGAUGUGAAAUGUGAAUGUGAAAUGUGAAUGUGA AUGAUGAUGUGAAAUGUGAAUGUGAAAUGUGA AAUGAUGAUGUGAAAUGUGAAUGUGAAAUGUGA AAAUGAUGAUGUGAAAUGUGAAUGUGAAAUGUGA AUGAUGAUGUGAAAUGUGAAAUGUGAAUGUGA AAUGAUGAUGUGAAAUGUGAAAUGUGAAUGUGA AAAUGAUGAUGUGAAAUGUGAAAUGUGAAUGUGA AUGAUGAUGAUGUGAAAUGUGAAAUGUGAAUGUGAAUGUGA AAUGAUGAUGAUGUGAAAUGUGAAAUGUGAAUGUGAAUGUGA AAAUGAUGAUGAUGUGAAAUGUGAAAUGUGAAUGUGAAUGUGA
Output
MMM MMM MMM MMM MMM MMM MMM MMMM MMMM MMMM

5. Hidden messages Test
Input
6 GAGUUCGUCAUGAACGAGGUGGAGAGGUAAAGCCGGGUUUUGGCACCUAUGGGGCAGAACAACGCGUAGUUUAAUUUGGUAGGCCGUAUGGGGAUAGUGGAGUAGUUUUUGGGGGGUCGGUUUAUGUACCAGGUGUAGACCUGGCGCUUUUAACCUAUGGUGCCGUAGAUAUUCUGA CCGUUACGGAUGAACGAGGUGGAGAGGUAAGGAUUAAUAAUAUUGGAUAUGGGGCAGAACAACGCGUAGUAGCUGGCUUAUAAGUUCAUGCUGGAGACGUGAAUCACCGACCCGAGGGUCAUGUACCAGGUGUAAUAAGGCGUUACUGUUCACAUGGACCAGUGGAACUAAUAACGCGCG AGCCGAGGUAUGAACGAGGUGGAGAGGUGAAGUUCGUGUGAAAAAGGAAUGGGGCAGAACAACGCGUAAAAUAAAGAAUUACGGGUUAUGAGGGUGAACUGAUCACUUCGUCCGUCUUGUAUGGCGAGGCAGGUGAACGACUGAUGAAAGAAGCCUUGUAACAUGGCGAACGACUAAAAGUGAACAGCAGCUUGGAUGGACGAGAGCGAGAGGACGUAAACCAGAUAGGCUGACCGGAUGUACCAGGUGUAGCUUGGGUCA UUUUCGCGGAUGAACGAGGUGGAGAGGUAACGGCGGACCCAACGGGACAUGGGGCAGAACAACGCGUGAUCCUCAAUCGUCGCGGAAAUGAUGGCGAAGGAGUAGGUGAAUCUGACUCGAGCAAUGUACCAGGUGUAGUGUGGGAACCCGUAUAAAAUGUGCAGGUACUAAAGAUAUUAC GCUCUCUUCAUGAACGAGGUGGAGAGGUAAAAACAAAGACGAGGCCAAAUGGGGCAGAACAACGCGUAGCCCCGGUAAGCCCCCCGGAUGAGCGCGUACUGAAUUUUUCCGCCACAACUUAUGGGGCAGCAGGACGUGUACGAGUAAAUCAUCAGC GAAAUACCGAUGAACGAGGUGGAGAGGUGAACGUGGCGAGGAGUUGAUAUGGGGCAGAACAACGCGUAGACAGACGCGCAGAUUCGUAUGACGGAGCUGCUGUGAAGCGGUAUAAGAAGGGGUAUGGCGUGAACUCAUUGUUGAUCCAGGAUGCUGAUAGAGUGAUCCUCCACAGGUAGGUUAAUGGCGAACGACUGACCUUUGUUACGUCGUAGCAUGCACGUGAGGACGUGAGGCUGAAACCACAUCACAAUGUACCAGGUGUGAGUUCAUUUG
Output
MNEVER-MGQNNA-MGIVE-MYQV-MVP MNEVER-MGQNNA-MLET-MYQV-MDQWN MNEVER-MGQNNA-MRVN-MARQVND-MAND-MDESERT-MYQV MNEVER-MGQNNA-MMAKE-MYQV-MCRY MNEVER-MGQNNA-MSAY-MGQQDVYE MNEVER-MGQNNA-MTELL-MA-MLIE-MAND-MHVRT-MYQV

5. Hidden messages (val) Validator
Input
2 AAGCGUGGGAUGAUAUGAUGUAUCACCGCACGCCACAUGAUAGUGAGCACGUGAGACUGAAGCCCUUUUUCCAUGUGGGCGAACAACGCGUAGAAGGU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QIIIIIQII MIQIIIIIIIQI MQIIIIIIIIIQ MQIIIIIIIIIQ MQIIIIIIIIIQ MQIIIIIIIIIQ MQIIIIIIIIIQ MIQIIIIIIIQI MIIQIIIIIQII MIIIQQQQQIII

6. Alien rna (val) Validator
Input
9 UGCCGCAAAAUGAUAAUACAGCAGCAGCAGCAGAUAAUAUAAAUUAGAACA CGCUCCGCUAUGAUACAGCAGAUAAUAAUACAGCAGAUAUGACCCUAAUAG CUGCAAUCUAUGCAGCAGAUAAUAAUAAUAAUACAGCAGUGACUCAAAAGC AGGCAGACCAUGCAGAUAAUAAUAAUAAUAAUAAUACAGUAGUGUGCCUAU UCCUGUAAGAUGCAGAUAAUAAUAAUAAUAAUAAUACAGUGACGCACCGUU UUUAGAAUUAUGCAGAUAAUAAUAAUAAUAAUAAUACAGUGAUACUUAGUA UGAGCGUCCAUGCAGCAGAUAAUAAUAAUAAUACAGCAGUAACUCGACGCU UCGUAAUCGAUGAUACAGCAGAUAAUAAUACAGCAGAUAUGAACUUGCGCC AGGAAGGGGAUGAUAAUACAGCAGCAGCAGCAGAUAAUAUGAAGUAUAACA
Output
MIIQQQQQII MIQQIIIQQI MQQIIIIIQQ MQIIIIIIIQ MQIIIIIIIQ MQIIIIIIIQ MQQIIIIIQQ MIQQIIIQQI MIIQQQQQII

7. Lots of noise Test
Input
5 UUAGUAUCCGACAGGUGUAAACUCGGGCACUAACGAAGGAGCUUUCGGGUGUGCUCGCACUCCUUACGGCAGGCGCUCGCCCAAUACCUAUCUUUUACCCGCCUUGGAUAAUCUUAGCGGCCUUGCAGCUAGCCUAGGGAAACCGGCAACAUGAGGGCGGACAUACAGUAAACGCGGUCCACUUUAAGCAUCGUCUUCACCCUUACUUUUCACUGCUUAAUUUAUACCUUUAAUUGUAGCUACGCGGGACAGCUUCUAGUAUUCAGCGUAAAGGCCAUUUAUUGCCGACGGUCAACCAGCCCCUGACAGAGUUCGCCAGUU GGAUCAAUCGCUUUCGAAAACUACUACAUCUAUUGAAGC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ACCGCUGGGUACUUAUACUACGUUGUAGGGCAUUCCAAAACCAAUUCCUGCUUGCCAACAAGUGGCAAGUGUGGACUACGCAGCUGAAACUAUCCUAAUCUUUUCCCGACAUCCAUUCCGUUACGGGGA
Output
MRADIQ MKILLED MTHE MRADIQ MSTAR

7. Lots of noise (val) Validator
Input
5 ACAGCCUGCCUACUUAGAUCAUUUCGGCGUAUUGCUACCGGUCACAUUGCGUGCGAUCCCUGUGCGAAGGCUUGAAUAGUCCCUGGUUUAGUGAAGCCUACCGUCGUCUAAGAGGUGGAAAUCUCGGGUCCCGUCGAUUCACCUACCUAAAUGAGGGCGGACAUACAGUAACUGUGAGUGCCUCCGCGGACACACAGCACGGCCUGAGUUCCUGUAUAGUAGUGCUACUAACCCCACAGGAACAGCUGAAAGCUAACUUGUCACGGGUUAACAAAGAUCGCGGGGUGGUAGAUCACUUACUAGCUUCGUCCUAGAGGCAAU UCCACGGAUACAGCUUCUGAGGGGCGCCUUCAUUCGGUCAAGUUGAGCCGCCCCUAACCUGGCCGACCUGUUGCACCCUCCACUUAGGUACCCGUUCAGCUUAACCAGUGUGACAUCCGAGUGUCUAACGGCAAACACUCCUUAAGACUCAUGAAGAUACUGCUGGAGGACUAAUAUACGCCCUUCCGGGUUCCACUUUGUAGUUACCGAUAAGUCGGCCUACCUGGUUAGGAGAUCACAUUUAAAUAAUACCUCUGACUACAGGUUGCCGCAUUGUAGCCCGUCGUUCAAACCUCCGUUUCGUUGUGGAAGGGAAGGGUCGGU CUGGUCGCUGUUCACCCAGAAAGACAGUUGGUGUUUCGACGUCUAUACCUCUCAAUCACGACGUUAACGUGUACUGGCAGCUGUAGCAUCAGCGUUGGAGGGUCGGGCCGAAAGAUUGUGGUUUGUGCGCCUCCAUACACGAUUGGGCGCAUGACGCACGAGUAGGAGUAGCAUUCCCUUAUUAUUCCUGUCUCCUUGCACGCUACACGAAGAGAACGCAUUUCAAUCAACCUCAAACAUAGAGCAACUCUUUGUAGUCCUUUAUAGUAAACUUACC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CGAAGCACCCAUGGGGUGGAACUUCUUCAGCCAGAGCCUGAUAAUGUUCCAGUAGCCGUAGAAGAGUAUAUACAAUCUGCAUCCAUAUCUGUUCAUCAUUGCGAUAAAGAGUCGUUUGAUAGAGGAAGCCAAUCUACAACUGCAGACAAGAAGAGGCACCUUAGCAGGAUUCCUUGGGACUUCUCGUGAUUGCCUGACCGCAAAU
Output
MLM-MDTVTLI-MMLPMVYKVSDLTCWIIHVY-MTPKVIQ-MFVV MSYK-MPQPVASNNTCPNGAIHSLSKPDYRHQRRWMFYFFDV MGYYPLSCAETDRTLRLRSATIEDRSRGTSLSRRLQPPKGVNFRPVYPSEV MGDGWQKSGPPGERCSEPRLMSHMMSQ-MKTMYIRS-MMLSLF MNWSCGARRPQQQAAGKNDYSEKIFIV-MGWNFFSQSLIMFQ

10. Shakespearean rag Test
Input
6 UCCCGGCGCAUGGGGCAGCAGGACUAAGCCUAUUCGUUAGUAGAGAUGAACAUAGGGCACACGUAGUUGCAGACA ACCAAUUUAAUGCUGGCGGACAUAGAGAGCUGAUUCGUUUGA GAUCUAAUCAUGGGGCAGCAGGACUGAUGGCCCGUAUCUGAUCAUAUGAACAUAGGGCACACGUAGGCGAGAGGU GAAAUCCUGAUGAGCUGGGAGGAGACGUGAGGUCACACCGUAAAGAGCAUGCUGGCGGACAUAGAGAGCUAACGAUCUGCA CCUGCCUAUAUGGGGCAGCAGGACUGAUAUUAAUCAUUUAGGUAAAUGAACAUAGGGCACACGUAGAGAAACUUC UAAGAGGUCAUGGGGCAGCAGGACUAGCGUUACCUAGCUACCCAGAUGAACAUAGGGCACACGUAGUACGUCAGA
Output
MGQQD-MNIGHT MLADIES MGQQD-MNIGHT MSWEET-MLADIES MGQQD-MNIGHT MGQQD-MNIGHT

10. Shakespearean rag (val) Validator
Input
2 GGCGGACAAAUGAUAACGAGCUAACGGCCCGUCAAUUCGGCUAUGAGCCAGUAAGACCUUCACUAGCAAUUAAUGGAGCUGGAGGGGGCGAACACGUGAGCCAAGGGC CAACUAUAUAUGAGCCAGUAAAUAAGUUGGGUAAGGAGGAUGAUAAACACGGAGCUGCUGAUAGGGGAGAACACGUAACCGUCCCGA
Output
MITS-MSQ-MELEGANT MSQ-MINTELLIGENT

Solution language

Solution

Stub generator input