blob: c1db6e13350107fc5e94b8442392d53c91e84e02 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
t = parse(Int, readline())
for case = 1:t
readline()
ds = readline() |> split .|> (x -> parse(Int, x)) |> sort
at = 0
for d = ds
at += d > at
end
println("Case #", case, ": ", at)
end
|