ENG  RUSTimus Online Judge
Online Judge
Задачи
Авторы
Соревнования
О системе
Часто задаваемые вопросы
Новости сайта
Форум
Ссылки
Архив задач
Отправить на проверку
Состояние проверки
Руководство
Регистрация
Исправить данные
Рейтинг авторов
Текущее соревнование
Расписание
Прошедшие соревнования
Правила
вернуться в форум

Обсуждение задачи 1000. A+B Problem

who can help me?
Послано a030844202 21 июн 2011 12:51
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace C#{

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

             int b=int.Parse(Console.ReadLine());

             Console.WriteLine(a+b);

         }

    }
}



Can anybody find the mistakes?    I do it at Visual studio ,it runs , but when i submited it ,they showed me that i was wrong.
Re: who can help me?
Послано AterLux 21 июн 2011 18:17
numbers can be in the same line (like in example). Read FAQ http://acm.timus.ru/help.aspx?topic=csharp
Re: who can help me?
Послано a030844202 22 июн 2011 04:39
it means that I should write the code the same as using System;

"public class Sum
{
    private static void Main()
    {
        string[] tokens = Console.ReadLine().Split(' ');
        Console.WriteLine(int.Parse(tokens[0]) + int.Parse(tokens[1]));
    }
}"
?
I can not understand !
Re: who can help me?
Послано a030844202 22 июн 2011 04:43
all the way. thank you!
Re: who can help me?
Послано Juliet 27 июн 2011 14:47
Apply the GOOD JOB for College ACMers to Make Large Money and Become a Millionaire

Hello, We need large no. of dedicated and hard working ACMers. The payment is good so we need ACMers to be efficient. All you have to do to get the job is to sign up at our websites. The link of our websites are given below.

http://www.PaisaLive.com/register.asp?3556638-4847933

After the registration, a confirmation email will be sent to your specified email address. Please click on the link inside the confirmation email to activate your account and recieve ACM work instantly. For any other queries you can mail the administrator.

Miss Juliet

Admin paisalive.com
Re: who can help me?
Послано Juliet 27 июн 2011 14:47
Apply the GOOD JOB for College ACMers to Make Large Money and Become a Millionaire

Hello, We need large no. of dedicated and hard working ACMers. The payment is good so we need ACMers to be efficient. All you have to do to get the job is to sign up at our websites. The link of our websites are given below.

http://www.PaisaLive.com/register.asp?3556638-4847933

After the registration, a confirmation email will be sent to your specified email address. Please click on the link inside the confirmation email to activate your account and recieve ACM work instantly. For any other queries you can mail the administrator.

Miss Juliet

Admin paisalive.com