자바(Java)
import java.util.*;
public class Main{
public static void main(String args[]){
Scanner sc = new Scanner(System.in);
int a, b;
a = sc.nextInt();
b = sc.nextInt();
System.out.println(a + b);
}
}
♠ 입출력에 대한 조금 더 자세한 내용: inner-game.tistory.com/356
C++
#include <iostream>
using namespace std;
int main() {
auto a=0, b=0;
cin >> a >> b;
cout << a+b << endl;
return 0;
}
Python
a, b = map(int, input().split())
print(a+b)
출처: www.acmicpc.net/help/language