Canadian Computing Competition: 2019 Stage 1, Junior #2
You and your friend have come up with a way to send messages back and forth.
Your friend can encode a message to you by writing down a positive integer
Given a message that your friend has encoded, decode it.
Input Specification
The first line of input contains
The next
Output Specification
The output should be x
, then line x
printed
Sample Input
Copy
4
9 +
3 -
12 A
2 X
Output for Sample Input
Copy
+++++++++
---
AAAAAAAAAAAA
XX
Comments
THIS IS SO COOL WILL DEF USE IRL
HELP ME MY Output not working it is printing after each lines
use java
This comment is hidden due to too much negative feedback. Show it anyway.
This comment is hidden due to too much negative feedback. Show it anyway.
You don't need a list, just the for with IO does it
This comment is hidden due to too much negative feedback. Show it anyway.
This comment is hidden due to too much negative feedback. Show it anyway.