Cod sursa(job #1111855)
Utilizator | Data | 19 februarie 2014 10:32:52 | |
---|---|---|---|
Problema | Text | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.31 kb |
#include <iostream>
#include <fstream>
#include <cstring>
using namespace std;
ifstream f("text.in");
ofstream g("text.out");
char a[20000][20];
int i,j,n,h,v[200][200];
int main()
{
int n=0;
while(!f.eof())
{
n++;
f>>a[n];
}
g<<n<<endl;
return 0;
}