Cod sursa(job #1402495)
| Utilizator | Data | 26 martie 2015 17:02:48 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.27 kb |
#include <fstream>
#include <vector>
using namespace std;
ifstream fin("adunare.in");
ofstream fout("adunare.out");
inline void impartire(int x)
{
if(x>0) impartire(x-1);
}
int main()
{
int a=0,i,b,x;
fin>>x>>b;
impartire(10000);
fout<<x+b;
}
