Close ×

My Accounts

You´ not logged in.

About

P1000 A+B Problem

Overview

Judge Result Compile Error
Problem P1000 A+B Problem
Submit Time August 25, 2019, 4:19:23 AM
Language Java
Judger Default Judger
Used Time 0 ms
Used Memory 0 K
Execute Time August 25, 2019, 4:19:25 AM

Judge Result

Compile Error. /tmp/voj-1393/qHgatcWEAmwJ.java:3: error: class, interface, or enum expected public static void main(){ ^ /tmp/voj-1393/qHgatcWEAmwJ.java:6: error: class, interface, or enum expected int a = sc.nextInt(); ^ /tmp/voj-1393/qHgatcWEAmwJ.java:7: error: class, interface, or enum expected int b = sc.nextInt(); ^ /tmp/voj-1393/qHgatcWEAmwJ.java:9: error: class, interface, or enum expected System.out.println(a+b); ^ /tmp/voj-1393/qHgatcWEAmwJ.java:11: error: class, interface, or enum expected } ^ 5 errors Compile Error, Time = 0 ms, Memory = 0 KB, Score = 0.