Guest User

Untitled

a guest
Dec 14th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.30 KB | None | 0 0
  1. #include <cstdio>
  2. #include <iostream>
  3.  
  4. using namespace std;
  5.  
  6. int main() {
  7.     freopen("input.txt", "r", stdin); // открыть input.txt для чтения
  8.     freopen("output.txt", "w", stdout); // открыть output.txt для записи
  9.     int x, y;
  10.     cin >> x >> y;
  11.     cout << x + y;
  12.     return 0;
  13. }
Add Comment
Please, Sign In to add comment