V587的小虫子
V587的小虫子
全部文章
题解
归档
标签
去牛客网
登录
/
注册
V587的小虫子的博客
全部文章
/ 题解
(共13篇)
题解 | #求最小公倍数#简单快捷
#include <bits/stdc++.h> using namespace::std; int main() { int n = 0; int m = 0; while (cin >> n >> m) { int tmp = 0; int ...
C++
2022-01-16
0
200
题解 | #合法IP# 输入不保证正确,只能逐项判断
#include <bits/stdc++.h> using namespace::std; int main() { string str; while (getline(cin, str)) { vector<string> vec; stringstr...
C++
2022-01-14
1
285
题解 | #参数解析#
#include <bits/stdc++.h> using namespace::std; int main() { string str; while (getline(cin, str)) { vector<string> vec; int j = 0...
C++
2022-01-13
0
244
题解 | #矩阵乘法计算量估算#
#include <bits/stdc++.h> using namespace::std; int main() { int num = 0; while (cin >> nu...
C++
2022-01-12
2
250
题解 | #MP3光标位置#逻辑题
#include <bits/stdc++.h> using namespace::std; int main() { int num = 0; string str; &nb...
C++
2022-01-09
0
232
题解 | #DNA序列#简单解法,遍历即可
#include <bits/stdc++.h> using namespace::std; int main() { string str; int num; ...
C++
2022-01-09
0
246
题解 | #完全数计算#
#include <bits/stdc++.h> using namespace::std; bool isPerfectNum(const int &num, unordered_set<uint> &us) { int sum...
C++
2022-01-09
0
239
题解 | #输出单向链表中倒数第k个结点#
#include <bits/stdc++.h> using namespace::std; struct ListNode { int m_nKey; ListNode *m_pNext; }; struct ListNode *createNode(int data) { List...
C++
2022-01-08
2
462
题解 | #名字的漂亮度#
#include <bits/stdc++.h> using namespace::std; int main() { int num; cin >> num; while (num--) { int i = 26; int sum = 0; int ...
C++
2022-01-08
0
218
题解 | #字符串加密#
#include <bits/stdc++.h> using namespace::std; int main() { string sKey, sStr; while (getline(cin, sKey) && getline(cin, sStr)) { s...
C++
2022-01-06
0
321
首页
上一页
1
2
下一页
末页