P1000 A+B Problem
Overview
Judge Result | Compile Error |
Problem | P1000 A+B Problem |
Submit Time | June 24, 2019, 1:13:29 AM |
Language | Java |
Judger | Default Judger |
Used Time | 0 ms |
Used Memory | 0 K |
Execute Time | June 24, 2019, 1:13:26 AM |
Judge Result
Compile Error.
/tmp/voj-1364/AMHXfEmmIKvk.java:1: error: cannot find symbol
import java.io.Scanner;
^
symbol: class Scanner
location: package java.io
/tmp/voj-1364/AMHXfEmmIKvk.java:3: error: cannot find symbol
static Scanner sc=new Scanner(System.in);
^
symbol: class Scanner
location: class AMHXfEmmIKvk
/tmp/voj-1364/AMHXfEmmIKvk.java:3: error: cannot find symbol
static Scanner sc=new Scanner(System.in);
^
symbol: class Scanner
location: class AMHXfEmmIKvk
/tmp/voj-1364/AMHXfEmmIKvk.java:7: error: no suitable method found for printf(int)
System.out.printf(a+b);
^
method PrintStream.printf(String,Object...) is not applicable
(argument mismatch; int cannot be converted to String)
method PrintStream.printf(Locale,String,Object...) is not applicable
(argument mismatch; int cannot be converted to Locale)
4 errors
Compile Error, Time = 0 ms, Memory = 0 KB, Score = 0.