Pagini recente » Cod sursa (job #440465) | Istoria paginii runda/wellcodesimulareclasa11-12-11martie | Cod sursa (job #1705574) | Cod sursa (job #2041458) | Cod sursa (job #949496)
Cod sursa(job #949496)
//
// main.cpp
// Learning
//
// Created by Flavian Alexander on 13/05/2013.
// Copyright (c) 2013 Flavian Alexander. All rights reserved.
//
#include <iostream>
#include <fstream>
using namespace std;
int main(int argc, const char * argv[]) {
unsigned long a, b, s;
ifstream input ("adunare.in");
ofstream output ("adunare.out");
input >> a;
input >> b;
s = a + b;
output << s;
input.close();
output.close();
return 0;
}