Cod sursa(job #3312340)
| Utilizator | Data | 27 septembrie 2025 16:47:14 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp-64 | Status | done |
| Runda | Arhiva de probleme | Marime | 0.49 kb |
/*
*/
#include <iostream>
#include <fstream>
using namespace std;
ifstream f ("adunare.in");
ofstream g ("adunare.out");
void Adunare (int &S,int a, int b){
S=a+b;
}
int S, a, b;
int main() {
f>>a>>b;
Adunare(S,a,b);
g<<S;
return 0;
}
// https://infoarena.ro/problema/adunare
// https://infoarena.ro/problema/ciur
// https://infoarena.ro/problema/sdo
// https://www.infoarena.ro/problema/alibaba
// https://infoarena.ro/problema/cautbin
// https://www.pbinfo.ro/probleme/277/varfuri 