白駿-1524歳準備
3634 ワード
白駿1524歳
質問:https://www.acmicpc.net/problem/1524
Swift :
質問:https://www.acmicpc.net/problem/1524
Swift :
let t = Int(readLine()!)!
for _ in 0..<t{
readLine()
readLine()
let s = readLine()!.split(separator: " ").map{Int($0)!}.max()!
let b = readLine()!.split(separator: " ").map{Int($0)!}.max()!
print(s<b ? "B":"S")
}
Reference
この問題について(白駿-1524歳準備), 我々は、より多くの情報をここで見つけました https://velog.io/@baekteun/백준-1524-세준세비テキストは自由に共有またはコピーできます。ただし、このドキュメントのURLは参考URLとして残しておいてください。
Collection and Share based on the CC Protocol