10 2022 档案
摘要:基本没怎么调就AC了,舒服
阅读全文
摘要:002:难一点的swap 这个题有点意思,注意理解指针的含义. 002.cpp #include <iostream> using namespace std; void swap( // 在此处补充你的代码 int *&a, int *&b ) { int * tmp = a; a = b; b
阅读全文
摘要:在开始愉快的PA之旅之前 超级马里奥真好玩(bushi) 搞了一波ccache,没搞好,从一点弄到两点,自闭了硬是没在/.bashrc下面找到他说的那个环境变量,打算明天(10.13)去请教一下学长了 发现时间不对,折腾了下时间$ sudo systemctl restart systemd-tim
阅读全文
摘要:注意new的使用 lab6_2.cpp #include <iostream> using namespace std; void swap(int &a, int &b) { /********** Begin **********/ int tmp = a; a = b; b = tmp; /*
阅读全文
摘要:client.cpp #include "client.h" void Client::ChangeServerName(char name) { /********** Begin **********/ Client::ServerName = name; Client::ClientNum +
阅读全文
摘要:ICS的PA0
阅读全文