Upload codes: contests

This commit is contained in:
2025-02-28 16:06:22 +00:00
parent 20088c4a66
commit b6243b7378
14 changed files with 574 additions and 0 deletions

View File

@ -0,0 +1,30 @@
#include <bits/stdc++.h>
#define lo long long
#define INF INT_MAX
#define LLM LONG_LONG_MAX
using namespace std;
const int N = 1e7 + 10;
/*
toothless. #17
@fredcss_dev
*/
map<string, string> mp;
string n;
signed main()
{
mp["N"] = "S";
mp["E"] = "W";
mp["W"] = "E";
mp["S"] = "N";
mp["NE"] = "SW";
mp["NW"] = "SE";
mp["SE"] = "NW";
mp["SW"] = "NE";
cin >> n;
cout << mp[n];
return 0;
}