coder_bai
coder_bai
全部文章
分类
归档
标签
去牛客网
登录
/
注册
coder_bai的博客
全部文章
(共59篇)
题解 | #计算表达式#
#define _CRT_SECURE_NO_WARNINGS 1 #include <bits/stdc++.h> using namespace std; int youxianji(char c) {//优先级 if (c == '#')return 0; ...
2023-01-05
0
315
题解 | #Zero-complexity#
#include <bits/stdc++.h> using namespace std; stack<long long> zhan; int main() { int n = 0; while (scanf("%d", &n) != EOF) { for (int...
2023-01-04
0
245
题解 | #统计字符#
#include <bits/stdc++.h> using namespace std; int number[128]; int main() { string str1, str2; while (getline(cin, str1)) { if ...
2023-01-03
1
306
题解 | #简单密码#
#include <bits/stdc++.h> using namespace std; int main() { string str; while (getline(cin, str)) { if (str == "ENDOFINPUT")brea...
2023-01-03
0
265
题解 | #特殊乘法#
#include <bits/stdc++.h> using namespace std; int main() { string str1; string str2; while (cin >> str1 >> str2) { ...
2023-01-03
0
258
题解 | #找最小数#
#define _CRT_SECURE_NO_WARNINGS 1 #include <bits/stdc++.h> using namespace std; struct shudui { int shu_1; int shu_2; }; const int MAXN...
2023-01-03
0
287
题解 | #查找#
# include <bits/stdc++.h> using namespace std; const int MAXN = 100 + 10; int arr[MAXN]; bool binary_serch(int n, int target) { int left =...
2023-01-03
0
255
题解 | #找x#
#include <bits/stdc++.h> using namespace std; int main() { int n = 0; while (scanf("%d", &n) != EOF) { int arr[200]; in...
2023-01-03
0
348
题解 | #小白鼠排队#
#define _CRT_SECURE_NO_WARNINGS 1 #include <bits/stdc++.h> using namespace std; struct laoshu { int weight; string hat; }; bool compare(...
2023-01-03
0
309
题解 | #整数奇偶排序#
#include <bits/stdc++.h> using namespace std; const int MAXN = 10; int arr_ji[MAXN]; int arr_ou[MAXN]; bool compare_ji(int x, int y) { retu...
2023-01-03
0
246
首页
上一页
1
2
3
4
5
6
下一页
末页