This file contains hidden or 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++) |
This file contains hidden or 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" |
This file contains hidden or 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 |
This file contains hidden or 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; |
This file contains hidden or 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; |
This file contains hidden or 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 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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} |
This file contains hidden or 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; |
This file contains hidden or 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