Skip to content

Instantly share code, notes, and snippets.

@Baekjoon
Created September 5, 2015 17:29
Show Gist options
  • Select an option

  • Save Baekjoon/c236b060f64c9f6eebda to your computer and use it in GitHub Desktop.

Select an option

Save Baekjoon/c236b060f64c9f6eebda to your computer and use it in GitHub Desktop.
10951
import java.util.*;
public class Main{
public static void main(String args[]){
Scanner sc = new Scanner(System.in);
int a, b;
while (sc.hasNextInt()) {
a = sc.nextInt();
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