시간 제한 메모리 제한 제출 정답 맞은 사람 정답 비율
0.25 초 (추가 시간 없음) 128 MB 5089 2355 2007 47.113%

문제

5명의 요원 중 FBI 요원을 찾는 프로그램을 작성하시오.

FBI요원은 요원의 첩보원명에 FBI가 들어있다. 

입력

5개 줄에 요원의 첩보원명이 주어진다. 첩보원명은 알파벳 대문자, 숫자 0~9, 대시 (-)로만 이루어져 있으며, 최대 10글자이다.

출력

첫째 줄에 FBI 요원을 출력한다. 이때, 해당하는 요원이 몇 번째 입력인지를 공백으로 구분하여 출력해야 하며, 오름차순으로 출력해야 한다. 만약 FBI 요원이 없다면 "HE GOT AWAY!"를 출력한다.

예제 입력 1

47-FBI
BOND-007
RF-FBI18
MARICA-13
13A-FBILL

예제 출력 1

1 3 5
W3sicHJvYmxlbV9pZCI6IjI4NTciLCJwcm9ibGVtX2xhbmciOiIwIiwidGl0bGUiOiJGQkkiLCJkZXNjcmlwdGlvbiI6IjxwPjVcdWJhODVcdWM3NTggXHVjNjk0XHVjNmQwIFx1YzkxMSBGQkkgXHVjNjk0XHVjNmQwXHVjNzQ0IFx1Y2MzZVx1YjI5NCBcdWQ1MDRcdWI4NWNcdWFkZjhcdWI3YThcdWM3NDQgXHVjNzkxXHVjMTMxXHVkNTU4XHVjMmRjXHVjNjI0LjxcL3A+XHJcblxyXG48cD5GQklcdWM2OTRcdWM2ZDBcdWM3NDAgXHVjNjk0XHVjNmQwXHVjNzU4IFx1Y2NhOVx1YmNmNFx1YzZkMFx1YmE4NVx1YzVkMCBGQklcdWFjMDAgXHViNGU0XHVjNWI0XHVjNzg4XHViMmU0LiZuYnNwOzxcL3A+XHJcbiIsImlucHV0IjoiPHA+NVx1YWMxYyBcdWM5MDRcdWM1ZDAgXHVjNjk0XHVjNmQwXHVjNzU4IFx1Y2NhOVx1YmNmNFx1YzZkMFx1YmE4NVx1Yzc3NCBcdWM4ZmNcdWM1YjRcdWM5YzRcdWIyZTQuIFx1Y2NhOVx1YmNmNFx1YzZkMFx1YmE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gc2VxdWVuY2Ugb2YgYXQgbW9zdCAxMCB1cHBlcmNhc2UgbGV0dGVycyBvZiB0aGUgRW5nbGlzaCBhbHBoYWJldCwgZGlnaXRzICZsc3F1bzswJnJzcXVvOyB0byAmbHNxdW87OSZyc3F1bzssIG9yIGRhc2hlcyAmbHNxdW87LSZyc3F1bzsuJm5ic3A7PFwvcD5cclxuIiwib3V0cHV0IjoiPHA+VGhlIGZpcnN0IGFuZCBvbmx5IGxpbmUgb2Ygb3V0cHV0IG11c3QgY29udGFpbiBhIHNwYWNlIHNlcGFyYXRlZCBsaXN0IG9mIGludGVnZXJzLCBzb3J0ZWQgaW4gaW5jcmVhc2luZyBvcmRlciwgaW5kaWNhdGluZyB0aGUgY29ycmVzcG9uZGluZyBpbnB1dCByb3dzIGNvbnRhaW5pbmcgcmVnaXN0cmF0aW9ucyBvZiBDSUEgYmxpbXBzLiZuYnNwOzxcL3A+XHJcblxyXG48cD5JZiB0aGVyZSBhcmUgbm8gQ0lBIGJsaW1wcywgb3V0cHV0IHRoZSBzdHJpbmcgJmxkcXVvO0hFIEdPVCBBV0FZISZyZHF1bzsuJm5ic3A7PFwvcD5cclxuIiwiaGludCI6IiIsIm9yaWdpbmFsIjoiMSIsImh0bWxfdGl0bGUiOiIwIiwicHJvYmxlbV9sYW5nX3Rjb2RlIjoiRW5nbGlzaCJ9XQ==

출처

Contest > Croatian Open Competition in Informatics > COCI 2010/2011 > Contest #4 1번

  • 문제를 번역한 사람: baekjoon
  • 데이터를 추가한 사람: krenerd
  • 잘못된 데이터를 찾은 사람: YunGoon