Cod sursa(job #3220921)
Utilizator | Data | 5 aprilie 2024 11:26:18 | |
---|---|---|---|
Problema | Oras | Scor | 10 |
Compilator | cpp-64 | Status | done |
Runda | Arhiva de probleme | Marime | 0.23 kb |
#include <iostream>
#include <fstream>
using namespace std;
int n;
int main()
{
ifstream f ("oras.in");
ofstream g ("oras.out");
f>>n;
if (n==3)
g<<"010"<<'\n'<<"001"<<'\n'<<"100";
else g<<-1;
}