Skip to content

Instantly share code, notes, and snippets.

@Baekjoon
Last active November 17, 2015 16:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Baekjoon/c9aec5be76f68af49266 to your computer and use it in GitHub Desktop.
Save Baekjoon/c9aec5be76f68af49266 to your computer and use it in GitHub Desktop.
1000 Java
import java.util.*;
class P1000 {
public void solve(){
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
System.out.println(a+b);
}
}
public class Main {
public static void main(String[] args) {
new P1000().solve();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment