CSES - E4590 2020 0 - Results
Submission details
Task:A + B
Sender:Isroilkhon Salikhodjaev
Submission time:2020-09-01 18:53:20 +0300
Language:Java
Status:READY
Result:ACCEPTED
Test results
testverdicttime
#1ACCEPTED0.13 sdetails
#2ACCEPTED0.13 sdetails
#3ACCEPTED0.13 sdetails
#4ACCEPTED0.13 sdetails
#5ACCEPTED0.13 sdetails
#6ACCEPTED0.13 sdetails
#7ACCEPTED0.13 sdetails
#8ACCEPTED0.13 sdetails
#9ACCEPTED0.13 sdetails
#10ACCEPTED0.13 sdetails

Code

import java.util.*;

public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String input = sc.nextLine();
        String[] values = input.split(" ");
        int result = Integer.parseInt(values[0]) + Integer.parseInt(values[1]);
        System.out.println(result);
    }
}

Test details

Test 1

Verdict: ACCEPTED

input
3 5

correct output
8

user output
8

Test 2

Verdict: ACCEPTED

input
-6 4

correct output
-2

user output
-2

Test 3

Verdict: ACCEPTED

input
-882818 -697825

correct output
-1580643

user output
-1580643

Test 4

Verdict: ACCEPTED

input
-357110 -868193

correct output
-1225303

user output
-1225303

Test 5

Verdict: ACCEPTED

input
577866 -227464

correct output
350402

user output
350402

Test 6

Verdict: ACCEPTED

input
571335 750047

correct output
1321382

user output
1321382

Test 7

Verdict: ACCEPTED

input
744471 719178

correct output
1463649

user output
1463649

Test 8

Verdict: ACCEPTED

input
629697 -138795

correct output
490902

user output
490902

Test 9

Verdict: ACCEPTED

input
308833 436123

correct output
744956

user output
744956

Test 10

Verdict: ACCEPTED

input
-486131 -888278

correct output
-1374409

user output
-1374409