囲碁AI大会やCGOSで、双方の読み筋や評価を見たい。
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
| diff --git i/hspproj/hsp3/filepack.cpp w/hspproj/hsp3/filepack.cpp | |
| index c03bc83..1f4beba 100644 | |
| --- i/hspproj/hsp3/filepack.cpp | |
| +++ w/hspproj/hsp3/filepack.cpp | |
| @@ -244,22 +244,24 @@ int FilePack::pack_fgetc(FILE* ptr) | |
| int FilePack::pack_flength(char* name) | |
| { | |
| + HFPOBJ* obj; | |
| + obj = SearchFileObject(name); |
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
| ; hspcmp -i multibyte_test1.hsp | |
| AB = 10 | |
| A B = 20 | |
| A B = 30 | |
| mes AB | |
| mes A B | |
| mes A B | |
| /* | |
| hsp3cl multibyte_test1.ax |
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
| # Go image to sgf | |
| import os | |
| import sys | |
| import math | |
| import re | |
| import string | |
| import cv2 | |
| import numpy as np |
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> | |
| class A { | |
| public: | |
| virtual int foo() = 0; | |
| }; | |
| class B : public A { | |
| public: | |
| virtual int foo() override { |
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
| // as fiz.S -o fiz.o | |
| // ld -o fiz.out fiz.o | |
| .globl _start | |
| _start: | |
| movl $4,%eax | |
| movl $1,%ebx | |
| movl $msg,%ecx | |
| movl $408,%edx | |
| int $0x80 |
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 <emscripten.h> | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| static uint64_t x; | |
| EMSCRIPTEN_KEEPALIVE uint64_t xorShiftSeed(int initialState) { | |
| x = initialState;// & 0xFFFFFFFFFFFFFFFFL; | |
| return x; | |
| } |
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
| #!/bin/bash | |
| ( | |
| cd openhsp | |
| git svn fetch | |
| ) | |
| ( | |
| cd hsp-minimized | |
| git fetch ../openhsp svn/trunk |
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
| BigInt("0b10001") * BigInt("0b" +( | |
| "__##__#_#_#___#__" + | |
| "__#_#_#_#_#####__" + | |
| "__#__#__#_#______" + | |
| "_________________" + | |
| "________#________" + | |
| "_______#_#_______" + | |
| "______#___#______" + | |
| "_________________" + | |
| "#################" + |
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 <set> | |
| #include <iostream> | |
| template<typename T> size_t collatz(T x) { | |
| std::set<T> xs; | |
| size_t n = 0; | |
| for (;; n++) { | |
| if (x == 1) | |
| break; | |
| if (xs.find(x) != xs.end()) { |
NewerOlder