会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
black-swan-a
博客园
首页
新随笔
联系
管理
订阅
2022年11月24日
文件流输入和输出
摘要: 方案一:使用freopen进行输入输出 #include<iostream> #include<string> #include<cstdlib> #include<ctime> using namespace std; #define MIN 0 #define MAX 9 class Winni
阅读全文
posted @ 2022-11-24 14:12 一直在努力的小笨蛋
阅读(141)
评论(0)
推荐(0)
2022年6月11日
贴一个简单但是最近很喜欢的美观的代码
摘要: #include<iostream> #include<vector> #include<algorithm> using namespace std; int main() { vector<int> number,even,odd; int a; while(cin>>a){ number.pu
阅读全文
posted @ 2022-06-11 20:49 一直在努力的小笨蛋
阅读(274)
评论(0)
推荐(0)
2022年5月17日
运行不出来真的QAQ
摘要: 学C的时候最大的苦恼是编译不通过和运行不正确 学了C++之后就开始有编译过了但运行不出来的情况了TAT
阅读全文
posted @ 2022-05-17 16:03 一直在努力的小笨蛋
阅读(20)
评论(0)
推荐(0)
2022年5月15日
内部错误最为致命!!!(贴一个高精度的除法)
摘要: HugeInt HugeInt::operator/(const HugeInt& c)const { HugeInt temp(0); HugeInt temp2(*this); int flag=0; for (int j = 1;j <= 10;j++) { if(flag!=0){ j=1;
阅读全文
posted @ 2022-05-15 14:40 一直在努力的小笨蛋
阅读(49)
评论(0)
推荐(0)
公告