|
|
back to boardWA8 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 Posted by Leonid 7 Dec 2013 23:20 Test data: 10 11 Answer: 2 Re: WA8 Posted by sbakic 12 May 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 Posted by IMX 20 May 2014 22:40 Try: 1 2 |
|
|