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 1000. A+B Problem

Объясните пожалуйста в чем подвох? c#
Posted by Alexandr 12 Feb 2016 22:54
У меня на visual studio эта программа работает. Здесь же runtime error
using System;

   public class lol
    {
      static void Main()
        {
            int a, b;
            a = Convert.ToInt32(Console.ReadLine());
            b = Convert.ToInt32(Console.ReadLine());
            a = a + b;
            Console.WriteLine(a);
        }
    }
Re: Объясните пожалуйста в чем подвох? c#
Posted by ToadMonster 15 Feb 2016 14:32
Run example as is - one line input - "1<space>5<eol>".
Your local run will fail too.