摘要: Shopping in Mars is quite a different experience. The Mars people pay by chained diamonds. Each diamond has a value (in Mars dollars M$). When making 阅读全文
posted @ 2021-02-09 23:01 XA科研 阅读(70) 评论(0) 推荐(0) 编辑
摘要: 在return 0前面添加 system("pause"); 可以让程序暂停,防止一闪而过。 阅读全文
posted @ 2021-02-09 22:33 XA科研 阅读(38) 评论(0) 推荐(0) 编辑
摘要: 关闭同步,可以提升cin和cout的速度 代码: std::ios::sync_with_stdio(false); 阅读全文
posted @ 2021-02-09 22:06 XA科研 阅读(719) 评论(0) 推荐(1) 编辑
摘要: 原因:自定义的****变量与库中重名; 解决:修改一下变量名 阅读全文
posted @ 2021-02-09 00:26 XA科研 阅读(942) 评论(0) 推荐(0) 编辑