#include <time.h>
#include <stdio.h>
#include <string>
#include <iostream>
#include <fstream>
#include <assert.h>
using namespace std;
int main(void)
{
string filename="/root/c++/haha_";
fstream fn;
fn.open(filename.c_str(),ofstream::out);
fn.close();
time_t t=time(0);
char ch[64];
strftime(ch, sizeof(ch), "%Y-%m-%d.%H", localtime(&t));
filename += ch;
cout<<filename<<endl;
return 0;
}