1st Tuenti Programming Contest

Tuenti Programming Contest Contest Questions Stats      

Challenge 2: TLang « Prev Next »


Completion time: 10 percentile: 1.60 h
Average: 13.67 h
90 percentile: 29.94 h
# of completions:495

We use a variety of languages and technologies here at Tuenti. Sometimes we even develop our own languages and tools. Here is an example from a programming language that we use when we want to blow our minds. Your task is to interpret it!

Sample input

^= 1 2$
^# 2 2$
^@ 3 1$

Sample output

3
4
2



Follow Tuenti Engineering on Twitter! Share Tuenti Programming Contest in Tuenti!