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 1327. Fuses

WA #7 Test
Posted by Konstantine Muradov 14 Aug 2015 03:08
Hello, here is my code
using System;

public class Program
{
    public static void Main(String[] args)
    {

        var a = Convert.ToInt32(Console.ReadLine());
        var b = Convert.ToInt32(Console.ReadLine());

        var ans = (b-a + 1) / 2;

        if (b % 2 > 0)
            ans++;

        Console.WriteLine(ans);
    }
}

I can not find out the problem :(