#Z01318. Be a good soldier
Be a good soldier
题目描述
Two years ago,I'm a air force soldier.My work is to draw a graphics about the process of air combat. But my skills are very poor.I'm not a good soldier.Now when I learned program ,I can use my laptop to solve the problem,can you help me? Aircraft code
| 1 | 2 | 3 | 4 | 5 |
0 | AV | AH | CH | EP | FA | 6 | KC | HH | OH | UH | MH |
Morse code
code | mean |
----- | 0 |
.---- | 1 |
..--- | 2 |
...-- | 3 |
....- | 4 |
..... | 5 |
-.... | 6 |
--... | 7 |
---.. | 8 |
----. | 9 |
输入格式
All input are the Morse code,each 20 char is a group, first ten code are the aircraft code, after it five code is its x coordinate,after it five code is its y coordinate. and so on...... The graphics is a 10X10 map.Use the aircraft code and its coordinate you can draw the graphics. Output: graphics about the process of air combat.The first line is " 0 1 2 3 4 5 6 7 8 9 ", next ten line you should output the aircraft code at his coordinate.
输出格式
graphics about the process of air combat.The first line is " 0 1 2 3 4 5 6 7 8 9 ", next ten line you should output the aircraft code at his coordinate.
-----..------------------..---.----.---------..---..---..--------..---.----...-------..---.----....------..---..---.....
0 1 2 3 4 5 6 7 8 9
0AH
1 AH
2 AH
3 AH
4 AH
5 AH
6
7
8
9
豫公网安备41072702000346号