#include <iostream>
#include <time.h>
#include <unistd.h>
using namespace std;
int main()
{
time_t t;
struct tm p, q;
time(&t);
for (int i = 0; i < 6; i++)
{
t -= 10;
char time22[30];
p = *localtime(&t);
strftime(time22, 30, "%Y%m%d %H%M%S", &p);
cout << time22 << endl;
}
return 0;
}
08-01
372
04-27
2372
12-26
06-08