This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"manifest_version": 2, | |
"name": "add user data link on Topcoder MarathonMatch standings", | |
"version": "1.0", | |
"author": "Leonardone", | |
"description": "add user data link on Topcoder MarathonMatch standings", | |
"content_scripts": [ | |
{ | |
"matches": ["*://community.topcoder.com/longcontest/*"], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"manifest_version": 2, | |
"name": "show max rating on Topcoder MarathonMatch standings", | |
"version": "1.0", | |
"author": "Leonardone", | |
"description": "show max rating on Topcoder MarathonMatch standings", | |
"content_scripts": [ | |
{ | |
"matches": ["*://community.topcoder.com/longcontest/*"], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- author: Leonardne @ NEETSDKASU | |
import qualified Data.IntSet as IS | |
hoge p = [p,p+p..] | |
fuga p = unzip . map (break (> p)) | |
piyo (s, e, xs) = | |
case IS.minView s of |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Random; | |
public class ShuffleIndexes | |
{ | |
int[][] indexes; | |
public ShuffleIndexes(int maxSize) | |
{ | |
indexes = new int[maxSize + 1][]; | |
for (int i = 0; i <= maxSize; i++) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Combination | |
{ | |
final int[] indexes; | |
final int end; | |
boolean finished = false; | |
public Combination(int end, int size) | |
{ | |
this.end = end; | |
this.indexes = new int[size]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Random; | |
public class XorShift extends Random | |
{ | |
static final long DEFAULT_SEED = 0xFEDC_BA98_7654_3210L; | |
private long seed; | |
public XorShift() | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Option Explicit On | |
Option Strict On | |
Option Compare Binary | |
Option Infer On | |
Imports System.Collections.Generic | |
Imports System.Numerics | |
Imports Tp = System.Tuple(Of Integer, Integer) | |
Public Class CheckPolygon |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"flag" | |
"fmt" | |
"os" | |
"strconv" | |
"time" | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ブラウザ拡張機能(アドオン) | |
AtCoder ProblemsのRankingsのLanguage Owners( kenkoooo.com/atcoder/?kind=lang )の名前出現数順の表を挿入するブラウザ拡張 | |
ブラウザにmanifest.jsonを読み込ませる | |
FireFox: about:debugging#addons -> 一時的なアドオンを読み込む | |
vivalid: vivaldi://extensions -> パッケージ化されていない拡張機能を読み込む | |
manifest.jsonとscript.jsがあれば動く |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.*; | |
class Main | |
{ | |
public static void main(String[] args) throws Exception | |
{ | |
try | |
{ | |
Scanner in = new Scanner(System.in); | |