AKUNAYA
AKUNAYA
全部文章
分类
题解(1)
归档
标签
去牛客网
登录
/
注册
AKUNAYA的博客
全部文章
(共5篇)
题解 | 重排链表,拆分链表并反转,再重新链接
/** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(NULL) {} ...
2025-04-12
0
15
题解 | 大数加法
#include <algorithm> #include <iterator> #include <ostream> #include <string> class Solution { public: /** * 代码中的类名、方...
2025-04-12
0
14
题解 | 坐标移动
#include <iostream> #include <map> using namespace std; int main() { string str; while (getline(cin, str)) { // 注意 while 处理多个 cas...
2025-04-12
0
15
题解 | 字符串最后一个单词的长度
#include <iostream> #include <ostream> #include <string> using namespace std; int main() { string str; while (getline(cin, ...
2025-04-12
0
14
数独c++(递归,回溯)
#include<iostream> #include<set> using namespace std; int flag=0;//是否到了最后一个点 void func(int *a,int i=0,int j=0) {//三个参数为 数组、当前位置坐标 if(i...
数独
c++
2020-08-04
12
1147