Submission #321405


Source Code Expand

namespace AtCoderBeginner
{
    class Program
    {
        static void Main(string[] args)
        {
            int a = int.Parse(Console.ReadLine());
            int b = int.Parse(Console.ReadLine());

            int sum = a - b;

            Console.WriteLine(sum);
        }
    }
}

Submission Info

Submission Time
Task A - 積雪深差
User tookunn
Language C# (Mono 2.10.8.1)
Score 0
Code Size 302 Byte
Status CE

Compile Error

./Main.cs(7,31): error CS0103: The name `Console' does not exist in the current context
./Main.cs(7,25): error CS1502: The best overloaded method match for `int.Parse(string)' has some invalid arguments
/usr/lib/mono/4.0/mscorlib.dll (Location of the symbol related to previous error)
./Main.cs(7,25): error CS1503: Argument `#1' cannot convert `object' expression to type `string'
./Main.cs(8,31): error CS0103: The name `Console' does not exist in the current context
./Main.cs(8,25): error CS1502: The best overloaded method match for `int.Parse(string)' has some invalid arguments
/usr/lib/mono/4.0/mscorlib.dll (Location of the symbol related to previous error)
./Main.cs(8,25): error CS1503: Argument `#1' cannot convert `object' expression to type `string'
./Main.cs(12,13): error CS0103: The name `Console' does not exist in the current context