Avion
의견: 0
Mirko and Slavko are USKOK agents tracking the movements of an unnamed corrupt government official. Anonymous sources have tipped them about his upcoming escape attempt. They now know he plans to use his diplomatic liaisons to try and hitch a ride on a CIA blimp leaving from Severin na Kupi blimp port.
It's common knowledge that all CIA blimps have the string FBI somewhere in their registration codes. They obtained a list of all blimps scheduled for the designated day. There are exactly \(5\) blimps on the list. Write a program that will point out all CIA blimps.
There are exactly \(5\) rows of input, each row representing one blimp registration code from the list. A registration code is a sequence of at most \(10\) uppercase letters of the English alphabet, digits 0 to 9, or dashes -.
The first and only line of output must contain a space separated list of integers, sorted in increasing
order, indicating the corresponding input rows containing registrations of CIA blimps.
If there are no CIA blimps, output the string “HE GOT AWAY!”.
| 서브태스크 | 점수 | 설명 |
|---|---|---|
Test 1 | 10점 | None |
Test 2 | 10점 | None |
Test 3 | 10점 | None |
Test 4 | 10점 | None |
Test 5 | 10점 | None |
Test 6 | 10점 | None |
Test 7 | 10점 | None |
Test 8 | 10점 | None |
Test 9 | 10점 | None |
Test 10 | 10점 | None |
N-FBI1
9A-USKOK
I-NTERPOL
G-MI6
RF-KGB11N321-CIA
F3-B12I
F-BI-12
OVO-JE-CIA
KRIJUMCAR1HE GOT AWAY!47-FBI
BOND-007
RF-FBI18
MARICA-13
13A-FBILL1 3 5평가 및 의견
Avion
Log in to rate problems.
아직 의견이 없습니다. 자격이 된다면 위 양식에서 가장 먼저 평가해 보세요.
풀이 제출
Avion