Cod sursa(job #789018)

Utilizator ioana.teocIoana Teoc ioana.teoc Data 16 septembrie 2012 16:18:24
Problema A+B Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.42 kb
//
//  main.cpp
//  test
//
//  Created by Ioana Teoc on 8/11/12.
//  Copyright (c) 2012 Ioana Teoc. All rights reserved.
//

#include <iostream>
#include <stdio.h>
using namespace std;

int main(int argc, const char * argv[])
{
    int a, b;
    freopen("adunare.out", "w", stdout);
    freopen("adunare.in", "r", stdin);
    cin >> a;
    cin >> b;
    cout << a + b;
    fclose(stdout);
    fclose(stdin);
    return 0;
}