baekjoon 20260303

This commit is contained in:
songyc macbook 2026-03-03 17:36:42 +09:00
parent b0c8afb959
commit 8ecf0fdce4

View File

@ -0,0 +1,7 @@
import Foundation
let ans = (1...5).compactMap { i in
return (readLine()?.contains("FBI") == true) ? String(i) : nil
}
print(ans.isEmpty ? "HE GOT AWAY!" : ans.joined(separator: " "))