Cod sursa(job #949496)
| Utilizator | Data | 13 mai 2013 21:51:22 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.47 kb |
//
// 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;
}
