AOJ 0001 List of Top 3 Hills
こんにちは川です。
sortしただけなので特に解説はないです。
using
System;
namespace
kawa
{
class
MainClass
{
public
static
void
Main(string[] args)
{
int
[] high =
new
int
[10];
for
(
int
i = 0; i < 10; i++)
{
high[i] =
int
.Parse(Console.ReadLine());
}
Array.Sort(high);
for
(
int
i = 9; i > 6; i--)
{
Console.WriteLine(high[i]);
}
}
}
}