Cod sursa(job #41607)
Utilizator | Data | 28 martie 2007 13:40:56 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.17 kb |
#include <fstream.h>
int main()
{
int a,b;
ifstream fin("adunare.in");
ofstream fout("adunare.out");
while (a!=0)
{ b++;
a--;
}
fout<<b<<'\n';
return 0;
}