ditch-11
ditch-11
全部文章
题解
归档
标签
去牛客网
登录
/
注册
ditch-11的博客
let today = new beginning();
全部文章
/ 题解
(共8篇)
题解 | #记票统计#
#include <bits/stdc++.h> using namespace std; int main(){ unordered_map<string, int> mp; vector<string> name; int n; ...
C++
2022-04-08
0
373
题解 | #表示数字#
#include<bits/stdc++.h> using namespace std; int main() { string str; cin >> str; string number; for(int i = 0; i < st...
C++
2022-04-08
0
437
题解 | #提取不重复的整数#
#include<bits/stdc++.h> using namespace std; int main(){ string str; cin >> str; int n = str.size(); int hash[10] = {0}; ...
C++
2022-04-07
0
327
题解 | #质数因子#
#include<bits/stdc++.h> using namespace std; int main() { long long num; cin >> num; for(int i = 2; i <= sqrt(num); i++){ ...
C++
2022-04-07
0
424
题解 | #合唱队形#
详细视频讲解看这个视频: https://www.bilibili.com/video/BV1t64y1u7Cu #include<bits/stdc++.h> using namespace std; const int MAXN = 1001; int a[MAXN]; int d...
C++
2022-04-05
0
400
题解 | #Sudoku#
#include<bits/stdc++.h> using namespace std; const int N = 15; int mp[N][N]; bool find_answer_ok = false; bool check(int row, int col, int val...
C++
2022-03-31
1
368
题解 | #计算表达式#
while True: try: s = input() print(int(eval(s))) except: break #include<bits/stdc++.h> using namespace std; i...
Python3
C++
2022-03-26
1
513
题解 | #a+b#
#include<bits/stdc++.h> using namespace std; const int MAXN = 1000; struct bigInt { int d[MAXN]; //存大整数数据部分的数组 int len; //存大整数的长...
C++
2022-03-10
0
470