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

Java как короче?
Posted by Anton 27 Feb 2018 00:34
import java.util.Scanner;
public class A
{
    public static void main(String[] args)
    { Scanner in = new Scanner(System.in);
      System.out.println(in.nextInt()+in.nextInt());
    }
}

Много весит и долго делает, подскажите, как облегчить и ускорить?
Re: Java как короче?
Posted by Riyad Ahsan Auntor 17 Mar 2018 13:28
you have to declare variables and place the input there.
Re: Java как короче?
Posted by nequx 9 Apr 2018 23:33
Файлы на java не могут много весить и запускаются всегда долго