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

Common Board

What is the Coder you use ??
Posted by FireHeart 2 Jun 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 ??
Posted by Mace(Lviv Polytechniс NU) 2 Jun 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 ??
Posted by FireHeart 3 Jun 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 ??
Posted by Mace(Lviv Polytechniс NU) 3 Jun 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 ??
Posted by Discaprio 4 Jun 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