|
|
вернуться в форумWA8 Module Module1 Sub Main() Dim a() As String = Console.ReadLine.Split(" ") Dim n, k As Integer n = 2 * CInt(a(0)) k = CInt(a(1)) Dim rez As Integer = Math.Ceiling(n / k) Console.WriteLine(rez) End Sub End Module Re: WA8 Послано Leonid 7 дек 2013 23:20 Test data: 10 11 Answer: 2 Re: WA8 Послано sbakic 12 май 2014 00:53 I got wrong answer for test#8 but my output is 2. What is wrong? Edited by author 12.05.2014 00:54 Re: WA8 Послано IMX 20 май 2014 22:40 Try: 1 2 |
|
|