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

Общий форум

What is the Coder you use ??
Послано FireHeart 2 июн 2007 16:04
I am a beginner, and can you tell me what is the C++ coder used to writing your code.
I know only pascal is use Free Pascal (FPC)
How about C/C++, C#, and java ??
Sorry about my bad Eng.
Re: What is the Coder you use ??
Послано Mace(Lviv Polytechniс NU) 2 июн 2007 19:06
I am using Microsoft Visual Studio 2003(7.0) for C++ and C#.  VS2005 is great environment for C#, but I had some problems with debugger, when I try to debug C++ project with this environment. You can download free version of Visual C++ 2005 Express Editions and Visual C# 2005 Express Editions from http://msdn.microsoft.com/vstudio/express/visualc/
Re: What is the Coder you use ??
Послано FireHeart 3 июн 2007 18:59
I have some problem with VS2005, such as (try to solve problem 1000 with C#) :
using system.io;
using system;
using system.text;
using system.data;
namespace prob1000
{
  class P1000
    {
       static void main()
       {
          int a,b;
          a=convert.toint32(system.io.readline());
          b=convert.toint32(system.io.readline());
          system.io.writeline(a+b);
       }
    }
}
nothing wrong in this code, but I have a crash !!! Don't understand !!

Edited by author 03.06.2007 18:59

Edited by author 03.06.2007 19:00

Edited by author 03.06.2007 19:00
Re: What is the Coder you use ??
Послано Mace(Lviv Polytechniс NU) 3 июн 2007 21:37
This code gets AC:

using System;
using System.IO;
using System.Text;
using System.Data;
namespace prob1000
{
    class P1000
    {
        static void Main()
        {
            int a,b;
            string s1=Console.ReadLine();
            string s2=s1.Split(" ".ToCharArray())[1];
            s1=s1.Split(" ".ToCharArray())[0];
            a=Convert.ToInt32(s1);
            b=Convert.ToInt32(s2);
            Console.WriteLine(a+b);
        }
    }
}

Two numbers was input in one line. You tried to read TWO lines.
Re: What is the Coder you use ??
Послано Discaprio 4 июн 2007 02:11
I'm using DevC++ with MingW compiler :)
It's free software under GNU/GPL and i like it :)
You can download it on http://wxdsgn.sf.net