Skip to content

Instantly share code, notes, and snippets.

@ZOI-dayo
ZOI-dayo / ajl_join_count.js
Last active August 8, 2023 09:26
AJLの学年別ページに参加回数を記載するユーザースクリプトです
// ==UserScript==
// @name AJL Join Count
// @namespace http://tampermonkey.net/
// @version 0.2
// @description AJLの学年別ページに参加回数を記載します
// @author ZOI_dayo
// @match https://img.atcoder.jp/ajl*/output_personal_grade*
// @icon https://www.google.com/s2/favicons?sz=64&domain=atcoder.jp
// @grant none
// @license MIT
@ZOI-dayo
ZOI-dayo / ajl_grapher.py
Last active July 3, 2023 09:41
AJL Grapher
import requests
from bs4 import BeautifulSoup
import matplotlib.pyplot as plt
import numpy as np
url = "https://img.atcoder.jp/ajl2023/output_personal_grade6.html"
response = requests.get(url)
response.encoding = response.apparent_encoding
soup = BeautifulSoup(response.text, "html.parser")
table = soup.find("table", {"class": "table_wrap"})
@ZOI-dayo
ZOI-dayo / atcoder_register_form_checker.js
Created May 29, 2023 15:36
AtCoder未記入チェッカー
// ==UserScript==
// @name AtCoder未記入チェッカー
// @namespace https://github.com/ZOI-dayo
// @version 0.1
// @description AtCoderの参加登録メニューで未記入のものがあれば赤く表示します
// @author ZOI_dayo
// @supportURL https://twitter.com/ZOI_dayo
// @license MIT
// @match https://atcoder.jp/contests/*/register
// @icon https://www.google.com/s2/favicons?sz=64&domain=atcoder.jp
@ZOI-dayo
ZOI-dayo / atcoder.cpp
Last active August 6, 2023 14:53
AtCoderテンプレート
// #define ONLINE_JUDGE
#ifdef ONLINE_JUDGE
#include <atcoder/all>
#include <bits/stdc++.h>
#include <boost/range/numeric.hpp>
#include <boost/range/algorithm.hpp>
#include <boost/algorithm/string/replace.hpp>
#include <boost/algorithm/string/join.hpp>
#include <boost/algorithm/string/classification.hpp>