problema 6 ofer 50 de puncte

#include <fstream>
using namespace std;
int main(){
int a,b,c;
ifstream fin("date.in");
fin >> a >> b >> c;
fin.close();
ofstream fout("date.out");
fout << (a/100) << (b/100) << (c/100) << " ";
fout << (a/10%10) << (b/10%10) << (c/10%10) << " ";
fout << (a%100) << (b%100) << (c%100) << " ";
fout.close();
}