code runner不支持__128
  • 板块灌水区
  • 楼主Engulf
  • 当前回复22
  • 已保存回复22
  • 发布时间2022/4/14 22:36
  • 上次更新2023/10/28 03:44:13
查看原帖
code runner不支持__128
482728
Engulf楼主2022/4/14 22:36

vscode 使用 code runner,编译选项:

"code-runner.executorMap": { "cpp": "cd $dir && g++ \"$fileName\" -o \"$fileNameWithoutExt\" -O2 -Wall -Wextra -pedantic -std=c++11 && & \".\\$fileNameWithoutExt\"" },

使用 __int128 时报错:

同样配置的 dev 和 sublime 都没有问题。求解决方案

(附:code runner 使用 ios::sync_with_stdio(false);cin.tie(nullptr);cout.tie(nullptr); 有时候也会有问题出现(无法输出)。)

2022/4/14 22:36
加载中...