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 1000. A+B Problem

What is not correct
Posted by Berkut_ua 26 Mar 2007 02:55
I was send solution for this problem in Java and receive WA - why?

My solution is equal to example in FAQ:

import java.io.*;
import java.util.*;

public class Sum
{
   public static void main(String[] args)
   {
      Scanner in = new Scanner(System.in);
      PrintWriter out = new PrintWriter(System.out);

      int a = in.nextInt();
      int b = in.nextInt();
      out.println(a + b);

      out.flush();
   }
}
Re: What is not correct
Posted by [SPbSU EatMore] WiNGeR 26 Mar 2007 04:37
There are problems with Java solutions now. All of them get WA1 on any problem :(
Re: What is not correct
Posted by [SPbSU EatMore] WiNGeR 26 Mar 2007 14:53
The problem is solved now