ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1820. Ural Steaks

WA8
Posted by endtimes 7 Dec 2013 19:18
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