Cod sursa(job #1334418)

Utilizator h2g2Ford Prefect h2g2 Data 4 februarie 2015 13:08:07
Problema Text Scor 0
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.28 kb
#include <iostream>
#include <fstream>
#include <string>
using namespace std;

string s;

int main() {
    ifstream f("text.in");
    ofstream g("text.out");

    getline(f, s);
    s = "asdf";

    getline(f, s);
    if(s.size() > 5)
        while(true) g<<"asdf\n";

    return 0;
}