Skip to content

Instantly share code, notes, and snippets.

#include <iostream>
using namespace std;
int main() {
int t;
cin >> t;
while(t--) {
int n,k,x,y;
cin >> n >> k >> x >> y;
int init_x = x, init_y = y;
#include <iostream>
#include <unordered_map>
#include <winuser.h>
#include <cstdlib>
using namespace std;
void drawsym(char c,int i) {
for(int j=0;j<i;j++)
{
cout<<c;