Afişează mesaje
Pagini: [1]
1  infoarena - concursuri, probleme, evaluator, articole / Arhiva de probleme / Răspuns: 000 A+B : Februarie 07, 2017, 13:02:01
#include <iostream>
#include <math.h>
#include <fstream>
using namespace std;
 
int main() {
    ifstream f("adunare.in");
    ofstream g("adunare.out");
int a,b;
f>>a>>b;
g<<a+b;
return 0;
}


Asta merge sigur!Garantez:) Read This!
Pagini: [1]
Powered by SMF 1.1.19 | SMF © 2006-2013, Simple Machines