uacs2024

导航

2024年11月19日 #

高精度 未解决

摘要: 洛谷P1601 A+B Problem(高精) 输入格式 分两行输入。0 ≤ a , b ≤ 10^500 #include <iostream> using namespace std; #include <string> const int N = 501; int num1[N],num2[N 阅读全文

posted @ 2024-11-19 13:49 ᶜʸᵃⁿ 阅读(12) 评论(0) 推荐(0)

leetcode 31. 下一个排列 中等

摘要: leetcode 31. 下一个排列 看了题解的思路,用自己看得懂的方式写的代码 class Solution { public: void reverse(int left,int right,vector<int>& nums){ for(int i = left,j = right;i < j 阅读全文

posted @ 2024-11-19 13:17 ᶜʸᵃⁿ 阅读(5) 评论(0) 推荐(0)