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
*.iml | |
.gradle | |
/local.properties | |
/.idea/workspace.xml | |
/.idea/libraries | |
.DS_Store | |
/build | |
/captures |
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
*.iml | |
.gradle | |
/local.properties | |
/.idea/workspace.xml | |
/.idea/libraries | |
.DS_Store | |
/build | |
/captures |
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
/build |
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 <fstream> | |
#include <algorithm> | |
#include <iomanip> | |
#define maxs 10000 | |
using namespace std; | |
ofstream out; |
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 <bits/stdc++.h> | |
using namespace std; | |
void print(int lim, int cur) { | |
for(int i = 1; i <= lim; i++) | |
if(i >= cur) cout << setw((int)log10(lim) + 2) << i; | |
else cout << setw((int)log10(lim) + 2) << "_"; | |
cout << endl; | |
} |
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
{ | |
"color_scheme": "Packages/Theme - One Dark/One Dark.tmTheme", | |
"ignored_packages": | |
[ | |
"Vintage" | |
], | |
"theme": "One Dark.sublime-theme", | |
"font_face": "Office Code Pro", | |
"line_padding_bottom": 1, | |
"line_padding_top": 1 |
I hereby claim:
- I am tvc97 on github.
- I am tvc97 (https://keybase.io/tvc97) on keybase.
- I have a public key ASBk-acvdqD4twwBloE1sC0LUspbLAhFNVtCl4mSCDmfZAo
To claim this, I am signing this object:
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
n1 = Math.floor(Math.random() * 1000) | |
n2 = (n1 + 0xbfac) % 0xffff | |
n3 = n1 * n2 % 0xffff | |
n4 = (n1 + n3 + 0xeaba) % 0xffff | |
[n1, n2, n3, n4].map(t => ('0000' + (t.toString(16))).slice(-4)).join(' ') |
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
function SudokuSolver(){var r=[];function n(n,t,o){for(var u=0;u<9;u++){var i=9*(3*Math.floor(t/3)+Math.floor(u/3))+3*Math.floor(o/3)+u%3;if(n==r[9*t+u]||n==r[o+9*u]||n==r[i])return!1}return!0}this.solve=function(t,o){var u=(o=o||{}).result||"string";return r=t.split("").map(function(r){return isNaN(r)?0:+r}),81!==t.length?"Puzzle is not valid.":function t(o){if(o>=r.length)return!0;if(0!=r[o])return t(o+1);for(var u=1;u<=9;u++)if(n(u,Math.floor(o/9),o%9)&&(r[o]=u,t(o+1)))return!0;return r[o]=0,!1}(0)?"chunks"===u?function(r){for(var n=[],t=0;t<r.length;t+=9)n.push(r.slice(t,t+9));return n}(r):"array"===u?r:r.join(""):"No solution found."}} | |
async function solve() { | |
const numbers = [ | |
'M8.954 30V3.545h-.267c-.738.41-6.706 4.655-7.71 5.311V5.883c.635-.41 6.767-4.758 7.977-5.476h2.789V30h-2.79z', | |
'M.12 9.57C.16 4.462 4.057.791 9.41.791c5.209 0 9.187 3.568 9.187 8.224 0 3.076-1.415 5.475-6.275 10.664l-7.998 8.53v.247h15.012V31H.284v-1.969L10.62 17.854c4.122-4.43 5.168-6.193 5.168-8.736 0-3.302-2.81-5.865-6.4 |
OlderNewer