Cod sursa(job #2748841)
Utilizator | Data | 3 mai 2021 17:03:30 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp-32 | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 kb |
#include <iostream>
#include<fstream>
using namespace std;
ifstream f("adunare.in");
ofstream g("adunare.out");
int main()
{
long long s=0;
float a,b;
f>>a>>b;
s=s+a+b;
g<<s;
return 0;
}