随笔分类 -  c++

摘要:作者花了一个下午写出来的。 c++写的时间管理大师。 支持一下。 #include<bits/stdc++.h> #include<windows.h> using namespace std; const int pai = 250; const int ban = pai/2; #define 阅读全文
posted @ 2024-10-22 17:21 困死了要 阅读(117) 评论(0) 推荐(1)
摘要:求\(\sum_{i=1}^n\left\lfloor\dfrac ni\right\rfloor\) long long H(int n) { long long res = 0; // 储存结果 int l = 1, r; // 块左端点与右端点 while (l <= n) { r = n / 阅读全文
posted @ 2024-10-16 09:06 困死了要 阅读(38) 评论(0) 推荐(0)
摘要:有些人想卡洛谷报仇洛谷 下面给出示例代码和题单。 #include<bits/stdc++.h> using namespace std; int main() { while(1) { cout<<"sb luogu"<<endl; } } 死亡时间到 阅读全文
posted @ 2024-10-14 21:32 困死了要 阅读(32) 评论(0) 推荐(0)