1 solutions
-
0
C :
#include <stdio.h> int main() { int a,b; while(scanf("%d %d",&a, &b) != EOF) printf("%d\n",a+b); return 0; }
C++ :
#include <iostream> using namespace std; int main() { int a,b; while (cin >> a >> b) { cout << a+b << endl; } return 0; }
Python :
# coding=utf-8 i = 1 while i != 0: a, b= map(int,input().split()) print(a + b)
- 1
Information
- ID
- 10814
- Time
- 1000ms
- Memory
- 32MiB
- Difficulty
- (None)
- Tags
- # Submissions
- 0
- Accepted
- 0
- Uploaded By