Skip to content

Instantly share code, notes, and snippets.

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