https://www.acmicpc.net/problem/11382

문제
꼬마 정민이는 이제 A + B 정도는 쉽게 계산할 수 있다. 이제 A + B + C를 계산할 차례이다!
풀이
package test;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long A = sc.nextLong();
long B = sc.nextLong();
long C = sc.nextLong();
System.out.println(A+B+C);
}
}

+) 오류
원래는
int A = sc.nextInt();
int B = sc.nextInt();
int C = sc.nextInt();
System.out.println(A+B+C);
이렇게 했었는데 이클립스에서는 제대로 계산이 되는데 백준사이트에서는 inputMismatch에러(java.util.InputMismatchExceptionf)가 계속나서 검색을 했더니
int보다 숫자범위가 더 넓은 long형을 입력하면 된대서 그대로 해봤더니 됐다..~