Skip to content

Instantly share code, notes, and snippets.

@Baekjoon
Created September 5, 2015 17:25
Show Gist options
  • Save Baekjoon/e167a3a1ea322788add4 to your computer and use it in GitHub Desktop.
Save Baekjoon/e167a3a1ea322788add4 to your computer and use it in GitHub Desktop.
10950
import java.util.*;
public class Main{
public static void main(String args[]){
Scanner sc = new Scanner(System.in);
int t = sc.nextInt();
while (t-- > 0) {
int a, b;
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