跳到正文

___Dice___

675888

被神仙幸存者,Ericwan,Timmylyx,ryangan单手薄纱/bx/bx || 这个人是大区,已退谷

这是 2026年10月26日 存档的第 2 版,不是当前版本。查看当前版本

资料、奖项与版本

资料

编号
675888
抓取

奖项

2026 NOI 夏令营
铜牌
2024 APIO
铜牌

版本

  1. v3当前
  2. v2
  3. v1

https://www.luogu.com.cn/problem/P11050

https://qoj.ac/problem/9904

代码
g++ gen.cpp -o gen -O2
g++ a.cpp -o a -O2
g++ bf.cpp -o bf -O2
while true
do
    ./gen > 1.txt
    ./a <1.txt >2.txt
    ./bf <1.txt >3.txt
    if !(diff 2.txt 3.txt) then
        echo "Wrong"
        break
    else 
        echo "right"
    fi
done

“editor.formatOnSave”: false

-Wall

ulimit -s unlimited -static

-fsanitize=address

-fsanitize = thread

-fsanitize=leak

-fsanitize = undefined