View ShakeBalls.cs
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
using System; | |
namespace shake_balls | |
{ | |
class ShakeBalls | |
{ | |
static void Main(string[] args) | |
{ | |
int[] search = { 1, 4, 2, 4, 1, 2, 4, 1, 2, 4, 2, 1, 4, 1, 2, 4, 3, 4, 1, 2, 4, 3, 4, 2, 1, 4, 2, 1, 4, 2, 1, 2, 4, 1 }; | |
for (UInt64 s = 0; s < (1 << 19); s++) |
View gbaromtoqr.cpp
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
#include <fat.h> | |
#include <nds.h> | |
#include <stdio.h> | |
#include <iostream> | |
#include <algorithm> | |
// https://github.com/nayuki/QR-Code-generator | |
#include "BitBuffer.hpp" | |
#include "QrCode.hpp" |
View build.sh
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
emcc -std=c++11 main.cpp -O3 -s WASM=1 -s MODULARIZE=1 -s EXPORT_NAME=Togasat -s "EXPORTED_FUNCTIONS=['_solve', '_malloc', '_free']" -s "BINARYEN_METHOD='native-wasm'" -o togasat.js |
View easy-ip-lcg-crack.cpp
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
#include <iostream> | |
#include <random> | |
#include <cstdint> | |
#include <chrono> | |
using namespace std; | |
#include <easy-ip.h> | |
typedef int64_t s64; | |
typedef uint64_t u64; | |
typedef __int128 s128; |
View 64bit-lcg-crack4.cpp
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
#include <cstdio> | |
#include <cstdint> | |
#include <cinttypes> | |
#include <cmath> | |
#include <algorithm> | |
#include <chrono> | |
#include <random> | |
typedef int64_t s64; | |
typedef uint64_t u64; |
View linear-ineq.rb
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
require "mathn" | |
SHIFT = 16 | |
SHIFT2 = SHIFT*2 | |
A = 0x41c64e6d % 2**SHIFT2 | |
B = 0x6073 % 2**SHIFT2 | |
def f(x) | |
(A * x + B) % 2**SHIFT2 | |
end |
View 線形合同法とp進整数と縮小写像.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View phi-is-bijection.tex
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
\documentclass{jsarticle} | |
\usepackage{amssymb} | |
\usepackage{amsmath} | |
\usepackage{bm} | |
\usepackage[dvipdfmx]{graphicx} | |
\setlength{\textwidth}{110truemm} | |
\newcommand{\transpose}[1]{{}^t\!{#1}} | |
\begin{document} |
View 64bit-lcg-crack3.cpp
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
#include <cstdio> | |
#include <cstdint> | |
#include <cmath> | |
#include <algorithm> | |
#include <chrono> | |
#include <random> | |
typedef int64_t s64; | |
typedef uint64_t u64; | |
typedef __int128 s128; |
View 64bit-lcg-crack2.cpp
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
#include <cstdio> | |
#include <cstdint> | |
#include <cmath> | |
#include <algorithm> | |
#include <chrono> | |
#include <random> | |
typedef int64_t s64; | |
typedef uint64_t u64; | |
typedef __int128 s128; |
NewerOlder