Cod sursa(job #419487)
Utilizator | Data | 17 martie 2010 16:28:09 | |
---|---|---|---|
Problema | Jocul Flip | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.24 kb |
#include <fstream>
#include <string>
using namespace std ;
fstream fin ( "flip.ok" , ios::in ) , fout ( "flip.out" , ios::out ) ;
int main ()
{
string s ;
getline ( fin , s ) ;
fin.close () ;
fout << s ;
fout.close () ;
}