Tag: Codeforces Round #426 (Div. 2)
Codeforces Round #426 (Div....
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define N 19
char strL, strR;
int l,...
Codeforces Round #426 (Div....
#include <bits/stdc++.h>
#define For(i,a,b) for(long long i=a;i<=b;i++)
#define Ford(i,a,b) for(int i=a;i>=b;i--)
#define...
Codeforces Round #426 (Div....
#include <bits/stdc++.h>
using namespace std;
int main()
{
ios_base :: sync_with_stdio(0), cin.tie(0), cout.tie(0);
int...
Codeforces Round #426 (Div....
#include<cstdio>
bool pd;
char s;
int n,k,size,last;
int main(){
scanf("%d%d%s",&n,&k,&s);
for (int i=0;i<n;++i) last-'A']=i;
for (int...
Codeforces Round #426 (Div....
#include<bits/stdc++.h>
using namespace std;
int t;
int main(){
char a,b;
int n;
scanf(" %c %c",&a,&b);
scanf("%d",&n);
n%=4;
t=0,t=1,t=2,t=3;
int...