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# - Why wrong answer???
Posted by Alexandr 13 Oct 2008 22:29
using System;
public class Program
    {
        public static void Main(string[] args)
        {
            try
            {
                Console.WriteLine(Int32.Parse(numbers[0]) + Int32.Parse(numbers[1]));
            }
            catch { }
        }
    }
Re: C# - Why wrong answer???
Posted by penartur 13 Oct 2008 23:14
You're right, the system should have been said "Compilation Error".