Mizar / みざー

Results 32 comments of Mizar / みざー

`cargo atcoder new` に毎回editionの指定が必要なのは煩雑になるので、`edition` も `cargo-atcoder.toml` で指定できるようにした方がいい気がします。 以下は https://github.com/tanakh/cargo-atcoder/pull/65 を元にして `rustc_edition` を `cargo-atcoder.toml` で指定できるように試みたものです。 - https://github.com/mizar/cargo-atcoder/tree/cfg_ed2018

- `lto = true` : https://github.com/mizar/apery_rust/commit/24ae08448e7b044a7ec859668ad52f00370dbb09 - `target-cpu=native` : https://github.com/mizar/apery_rust/commit/075d9f32a5c4e34d0d571b71766274ac3cef5281 例えば上記のような指定をしてみるのはどうでしょうか? 数%程度影響がありそうです。

https://github.com/HiraokaTakuya/apery_rust/pull/9 一応、PRの形で投げておきました。

example: ```bash mkdir -p .dist python3 expand.py -o .dist/convolution.rs convolution python3 expand.py -o .dist/dsu.rs dsu python3 expand.py -o .dist/fenwicktree.rs fenwicktree python3 expand.py -o .dist/lazysegtree.rs lazysegtree python3 expand.py -o .dist/math.rs math...

- Specify utf-8 encoding and no conversion for newline characters エンコーディングを utf-8, 改行文字を無変換に指定 In Python on Japanese Windows, the default `preferred encoding` value for text file input/output is often cp932...

読めない棋譜がありましたので報告します。 - https://golan.sakura.ne.jp/denryusen/dr1_test2/kifufiles/dr1test1test0+tu-1_aobazero_viper-300-5F+aobazero+viper+20200719201040.csa - https://golan.sakura.ne.jp/denryusen/dr1_test2/kifufiles/dr1test1test0+tu-6_daigorilla_aobazero-300-5F+daigorilla+aobazero+20200719231715.csa - https://golan.sakura.ne.jp/denryusen/dr1_test2/kifufiles/dr1test1test0+tu-9_suisho_aobazero-300-5F+suisho+aobazero+20200720011011.csa - https://golan.sakura.ne.jp/denryusen/dr1_test2/kifufiles/dr1test1test0+tu-11_aobazero_wandre-300-5F+aobazero+wandre+20200720023229.csa - https://golan.sakura.ne.jp/denryusen/dr1_test2/kifufiles/dr1test1test0+tu-13_aobazero_hefeweizen-300-5F+aobazero+hefeweizen+20200720034211.csa 勝ち宣言周りの書式(1行に勝ち宣言と棋譜コメントを並べる `%KACHI,'* -5000 win` のような表記)の問題かもしれません。逆に、以下の棋譜は現状問題ないようです。 - https://golan.sakura.ne.jp/denryusen/dr1_test2/kifufiles/dr1test1test0+tu-2_sylwi_suisho-300-5F+sylwi+suisho+20200719210027.csa (追記) Kifu-for-JS (json-kifu-format) へ棋譜を読み込ませる際、 ``` %KACHI,'* -5000 win T4 ``` の部分を ```...

The following add overflow checks and subtruct borrow checks should also be considered. For example, use `overflowing_add` and `overflowing_sub` for addition and subtraction as well. https://github.com/rust-lang-ja/ac-library-rs/blob/b09e6b5c0fafd68468e93f847e0fbd20b49aa5be/src/modint.rs#L793-L811

Example of subtraction borrow check using built-in instruction (GCC/MSVC): https://godbolt.org/z/P8749355T ```cpp #ifdef _MSC_VER #include #endif // @param a `0 im * m = 2^64 + r (0 > 64); #endif...

> Why not add an example for [F](https://atcoder.jp/contests/practice2/tasks/practice2_f)? We've already implemented `convolution`. > @qryxip I didn't just because it was not yet merged when I created this PR. I'l do...

Currently, you must manually change the `language_id` used when posting. see: https://github.com/NotLeonian/HowToHandleNewJudge