- Pentium 以降の世代の CPU なら問題なく実行できる
- VC++ (2005 以降?) なら
<intrin.h>
を#include
して、__cpuid()
および__cpuidex()
を使用する - gcc なら
<cpuid.h>
を#include
して、__get_cpuid()
,__cpuid_count()
を使用する - RDRAND を使ってみたかったのだけど、うちのは対応していなかった!
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
import subprocess | |
import pipes | |
import multiprocessing | |
CASE = 150 | |
TL = 2.0 | |
def execute_case(seed): | |
input_file_path = f'tools/in/{seed:04}.txt' | |
output_file_path = f'tools/out/{seed:04}.txt' | |
with open(input_file_path) as fin: |
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
\usepackage[noabbrev]{cleveref} | |
\crefformat{chapter}{第#2#1#3章} | |
\crefformat{section}{#2#1#3節} | |
\crefformat{subsection}{#2#1#3節} | |
\crefname{figure}{図}{図} | |
\crefname{table}{表}{表} | |
\crefname{equation}{式}{式} | |
\crefname{appendix}{付録}{付録} | |
\newcommand{\crefrangeconjunction}{--} | |
\newcommand{\crefpairconjunction}{, } |