Skip to content

Instantly share code, notes, and snippets.

@utaha1228
utaha1228 / squardle.html
Created June 21, 2022 20:02
Squardle Cheat
<div>
Today's squardle puzzle:
<div id="words">
</div>
<div id="optional">
</div>
</div>
<script src="https://squaredle.app/api/today-puzzle-config.js"></script>
@utaha1228
utaha1228 / wordament.py
Created January 24, 2020 21:03
Wordament Autoplay
from pynput.mouse import Button, Controller
from PIL import Image, ImageGrab
import random
import pyautogui
import time
from time import sleep
import requests
import sys
timer=0
@utaha1228
utaha1228 / zookeeper.py
Created January 21, 2020 05:42
Zookeeper Battle Auto Play
from pynput.mouse import Button, Controller
from PIL import Image, ImageGrab
import random
import pyautogui
from time import sleep
error=3
def getRectangle(x,y):
return ((3+233*x,523+125*y),(3+233*(x+1),523+125*(y+1)))
/*input
4 5 1 10
1 2 2
1 3 2
1 4 2
2 3 1
3 4 1
*/
#include <bits/stdc++.h>
#pragma GCC optimize("unroll-loops,no-stack-protector")
@utaha1228
utaha1228 / toi2019_4mpC.cpp
Last active May 25, 2019 03:48
toi2019_4mpC
/*input
4 4
5 9 1 2
TOTIENT 3 3
TOTIENT 3 4
MULTIPLY 4 4 3
TOTIENT 4 4
*/
#include <bits/stdc++.h>
@utaha1228
utaha1228 / cluedo.cpp
Created May 24, 2019 03:03
cluedo paper
/*input
*/
#include <bits/stdc++.h>
#pragma GCC optimize("unroll-loops,no-stack-protector")
using namespace std;
typedef long long ll;
typedef long double ld;
typedef pair<int,int> pii;
typedef pair<ll,ll> pll;
@utaha1228
utaha1228 / toi2019_3mpA.cpp
Last active May 11, 2019 02:15
toi2019_3mpA
#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int,int> pii;
typedef pair<ll,ll> pll;
typedef long double ld;
typedef pair<ld,ld> pdd;
#define F first
#define S second
#define MP make_pair
@utaha1228
utaha1228 / toi2019_2mpC.cpp
Last active May 3, 2019 06:30
toi2019_2mpC
/*input
6
0 1
1 2
2 3
3 4
4 5
5 6
*/
#include <bits/stdc++.h>
@utaha1228
utaha1228 / toi2019_2mpA.cpp
Created April 29, 2019 12:54
toi2019_2mpA
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int,int> pii;
typedef pair<ll,ll> pll;
#define F first
#define S second
#define ALL(a) a.begin(),a.end()
#define SZ(a) ((int)a.size())
#define MP make_pair
@utaha1228
utaha1228 / toi2019_3mpD.cpp
Created April 29, 2019 04:18
toi2019_3mpD
#include <bits/stdc++.h>
#pragma GCC optimize("unroll-loops,no-stack-protector")
#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native")
using namespace std;
typedef long long ll;
typedef pair<int,int> pii;
typedef pair<ll,ll> pll;
typedef pair<double,double> pdd;
#define IOS ios_base::sync_with_stdio(0); cin.tie(0)
#define ALL(a) a.begin(),a.end()