牛客588682307号
牛客588682307号
全部文章
分类
归档
标签
去牛客网
登录
/
注册
牛客588682307号的博客
全部文章
(共10篇)
题解 | #最大连续子序列#
# include<stdio.h> # include<iostream> # include<algorithm> using namespace std; int main(){ int n; while(scanf("%d&quo...
2024-03-24
0
251
题解 | #A + B#
# include<stdio.h> #include<iostream> # include<queue> # include<math.h> # include<stack> using namespace std; int...
2024-03-23
1
221
题解 | #字符串排序#
# include<stdio.h> #include<iostream> using namespace std; struct stu { string s; int length; }; int main() { int n; whil...
2024-03-17
0
235
题解 | #买房子#
# include<stdio.h> int main() { int n, k; while (scanf("%d %d", &n, &k) != EOF) { int sum = 0; float p...
2024-03-15
1
222
题解 | #首字母大写#
# include<iostream> using namespace std; int main() { string s; while (getline(cin, s)) { for (int i = 0; i < s.length(); i+...
2024-03-15
0
229
题解 | #打印极值点下标#
# include<stdio.h> int main() { int n; while (scanf("%d", &n) != EOF) { int a[n]; for (int i = 0; i < n...
2024-03-15
0
202
题解 | #与7无关的数#
# include<stdio.h> int judge(int h) { if (h % 7 == 0) return 0; while (h) { int t = h % 10; if (t == 7) ...
2024-03-15
0
201
题解 | #单词替换#
# include<stdio.h> #include<iostream> using namespace std; int main(){ string s,tag,sub; while(getline(cin,s)){ cin>>sub; cin>...
2024-03-14
1
197
题解 | #最大序列和#
# include<stdio.h> int main(){ int n; while(scanf("%d",&n)!=EOF){ int nums[n]; for(int i=0;i<n;i++) scanf("%...
2024-03-13
1
200
题解 | #二叉树遍历#
#include<iostream> # include<stdio.h> # include<malloc.h> typedef struct btnode { char data; struct btnode* left, *right; }...
2024-03-11
1
253