#define H 50
#define W 50
#include <random>
#include <iostream>
#include <vector>
#include <algorithm>
#include <stdio.h>
#define rep(i, n) for(int i = 0; i < (int)(n); i++)
#define all(x) ((x).begin(),(x).end())
using ll = long long;
typedef long long ll;
typedef long long int64;
typedef long long lint;
typedef long long lli;
int gridlist[H][W];
int flg[H][W];
using namespace std;
int globalbest(int p){
}
int main(){
std::random_device rnd;
int h,w;
scanf("%d %d",&h,&w);
rep(j,h)
{
rep(i,w){
scanf("%d ",&gridlist[j][i]);
}
}
rep(j,h){
rep(i,w){
}
}
rep(i,h){
printf("E");
}
rep(j,w){
printf("S");
}
printf("\n");
vector<int> v = {1, 2, 3};
do {
} while (next_permutation(v.begin(), v.end()));
return 0;
}
Battle History