#pragma warning(disable:4996)
#define LOCAL
#include<iostream>
#include<cstring>
char a[8][8];
char b[8][8];
using namespace std;
void fun(int x)
{
cout<<x<<endl;
if(x<=0)
return ;
memcpy(b, a, sizeof(a));
for(int i=1;i<=5;i++)
printf("%s\n",b[i]);
printf("\n");
x--;
fun(x);
}
int main()
{
#ifdef LOCAL
freopen("input.txt", "r", stdin);
freopen("output.txt", "w", stdout);
#endif
{
//ios_base::sync_with_stdio(false);
//cin.tie(NULL);
//为什么这段代码会影响结果(在devc++,和lougu上)
}
int n=3;
for(int i=1;i<=5;i++)
scanf("%s",a[i]);
fun(n);
return 0;
}
#define LOCAL
#include<iostream>
#include<cstring>
char a[8][8];
char b[8][8];
using namespace std;
void fun(int x)
{
cout<<x<<endl;
if(x<=0)
return ;
memcpy(b, a, sizeof(a));
for(int i=1;i<=5;i++)
printf("%s\n",b[i]);
printf("\n");
x--;
fun(x);
}
int main()
{
#ifdef LOCAL
freopen("input.txt", "r", stdin);
freopen("output.txt", "w", stdout);
#endif
{
//ios_base::sync_with_stdio(false);
//cin.tie(NULL);
//为什么这段代码会影响结果(在devc++,和lougu上)
}
int n=3;
for(int i=1;i<=5;i++)
scanf("%s",a[i]);
fun(n);
return 0;
}