Cod sursa(job #1537855)
Utilizator | Data | 28 noiembrie 2015 11:08:03 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.29 kb |
#include <iostream>
#include <fstream>
using namespace std;
int main()
{
ifstream fin ("data.in");
ofstream fout ("data.out");
int a,b;
fin >> a;
fin >> b;
while (a<=b)
{
fout << a;
a = a+1;
fout << endl;
}
return 0;
}