Skip to content

Instantly share code, notes, and snippets.

@dev-owner
Forked from Baekjoon/Main.java
Created July 20, 2016 02:03
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 dev-owner/60720e6da1dfb777d2586a8ddcd0c0ab to your computer and use it in GitHub Desktop.
Save dev-owner/60720e6da1dfb777d2586a8ddcd0c0ab to your computer and use it in GitHub Desktop.
1000 Java
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