Jonas_LEE
Jonas_LEE
全部文章
分类
归档
标签
去牛客网
登录
/
注册
Jonas_LEE的博客
全部文章
(共37篇)
题解 | 进制转换2
难以置信,就都用10进制作为中介再转换为其他进制数即可 #include <iostream> #include <map> #include <cmath> using namespace std; int main() { map<char, ...
2025-03-13
0
19
题解 | 旋转矩阵
丑陋的代码 #define _CRT_SECURE_NO_WARNINGS #include <cstdio> int a[10][10], b[10][10]; // 避免传递二维数组麻烦 // 逆时针旋转 90 度 void rotate90Clockwise(int n) { ...
2025-03-13
0
43
题解 | ZOJ问题
我寻思题目也没说z前面o的数量乘以z和j之间o的数量等于j后面o的数量啊? #define _CRT_SECURE_NO_WARNINGS #include <cstdio> #include <string> using namespace std; int main()...
2025-03-13
0
23
题解 | 分组统计
这题目前对我来说巨难,for range循环我还用不了这么熟练,借助DeepSeek实现了以下代码 #include <cstdio> #include <map> #include <vector> using namespace std; int main(...
2025-03-13
1
33
题解 | 三角形相加
我这输入输出真的没毛病吗 #include <cstdio> class triangle { private: int y, x; // 分别代表A和B的纵坐标和横坐标 public: triangle(int y = 0, int x = 0) : y(y), x(...
2025-03-13
0
35
题解 | 整型存储
两个数组搞定 #define _CRT_SECURE_NO_WARNINGS #include <cstdio> #include <cmath> #include <vector> using namespace std; class reverse_num ...
2025-03-12
0
31
题解 | 多项式的值
这么丑陋的代码一次性过了 #include <cstdio> #include <map> #include <cmath> using namespace std; class operation { private: int limit; ...
2025-03-12
0
26
题解 | 求两个多项式的和
利用归并排序思想,随后逆序输出 #define _CRT_SECURE_NO_WARNINGS #include <cstdio> #include <map> using namespace std; int main() { int n, m; map&...
2025-03-11
0
22
题解 | 调整方阵
正是要了老命了,昨天还正常,今天后台维护的就犯强迫症了?**有些东西,放在那里不要改,非要强迫症**,题号从KY2开始到KY1,导致所有题号都-1,我在vscode上刷题,每道题都以KYxxx命名,写的好好的发现不对劲,这道题明明没写过怎么写了东西,好像为了对应这个新的题号覆盖了之前写的题,还好我有...
2025-03-11
0
31
题解 | 排名
【出分前夕】怎搞呢,难的题不会写,简单的题就算多花点时间也要写出来 #include <cstdio> #include <algorithm> #include <string> #include <vector> using namespace s...
2025-02-23
0
40
首页
上一页
1
2
3
4
下一页
末页