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 1104. Don’t Ask Woman about Her Age

To admins WA Test1 in C#
Posted by rusden220 2 Jan 2020 21:49
If you get WA for the first test in C#

using System;
namespace Timus1104
{
    class Program
    {
        static void Main(string[] args)
        {
            var inputNumber = Console.ReadLine();
            Console.WriteLine("22");
        }
    }
}

just add return value

using System;
namespace Timus1104
{
    class Program
    {
        static int Main(string[] args)
        {
            var inputNumber = Console.ReadLine();
            Console.WriteLine("22");
            return 0;
        }
    }
}