呆瓜不呆
呆瓜不呆
全部文章
分类
归档
标签
去牛客网
登录
/
注册
呆瓜不呆的博客
全部文章
(共7篇)
题解 | 支付宝消费打折
#include <algorithm> #include <cstdint> #include <iostream> #include <vector> using namespace std; int main() { long long...
2025-08-06
1
28
题解 | 分数线划定
#include <algorithm> #include <cmath> #include <iostream> #include <map> #include <vector> using namespace std; int mai...
2025-08-05
0
30
题解 | 乒乓球
#include <iostream> using namespace std; void win(int d, string s) { int w = 0, l = 0; for (int i = 1; i <= s.size(); i++) { ...
2025-08-05
0
30
题解 | 多项式输出
#include <climits> #include <iostream> using namespace std; int main() { int n; cin >> n; for (int i = n; i >= 0; i...
2025-08-05
0
28
题解 | 计算一年中的第几天
#include <iostream> #include <map> #include <vector> using namespace std; // 闰年:366 2月 29天 // 平年:365 2月 28天 // 基本规则:如果年份能被 4 整除,则可...
2025-08-04
0
28
题解 | 小红的夹吃棋
#include <iostream> #include <vector> using namespace std; int is_win(char mp[3][3]) { int h = 0, z = 0; for (int i = 0; i < ...
2025-08-04
0
26
题解 | 九倍平方数
#include <iostream> #include <string> using namespace std; // 1.关于这里为什么对2的个数限制在8个,3的个数限制在2个。 // 1.数的增量只能由2和3来,2的增量是4-2=2,3的增量是3*3-3=6. //...
2025-08-04
0
25