奖学金:结构体多关键字排序 摘要:解题思路:注意事项:参考代码:#include <iostream> #include <algorithm> using namespace std; struct st{ int sn,…… 题解列表 2024年08月08日 2 点赞 0 评论 333 浏览 评分:0.0
字符串分类统计 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> int main() { int letters = 0, digit…… 题解列表 2024年08月08日 1 点赞 0 评论 281 浏览 评分:0.0
虽然这是java的题目,但是,我用了c语言,船新版本 摘要: ```c #include #include #include #define MAX 1000001 typedef struct { char ch;//存储字母 …… 题解列表 2024年08月08日 0 点赞 0 评论 419 浏览 评分:9.9
Python的辗转相除 摘要:def gcd(a,b): while b: a,b=b,a%b return a a=int(input()) b=int(input()) print(…… 题解列表 2024年08月08日 0 点赞 0 评论 187 浏览 评分:0.0
辗转相除最终归纳! 摘要:1.c++写#include<bits/stdc++.h> using namespace std; int _gcd(int a,int b) { while(b!=0)//可以简写…… 题解列表 2024年08月08日 0 点赞 0 评论 250 浏览 评分:0.0
原来不难,就只有第一个单词特殊啊 摘要:#include<bits/stdc++.h> using namespace std; int main() { string s; while(getline(cin,s)) {…… 题解列表 2024年08月08日 0 点赞 0 评论 163 浏览 评分:0.0
最暴力的写法 摘要:#include<bits/stdc++.h> using namespace std; int main() { int n; cin>>n; for(int i=0;i<=n;i…… 题解列表 2024年08月08日 0 点赞 0 评论 218 浏览 评分:8.0
这个题细节很多,wa了很多次 摘要:#include<bits/stdc++.h> using namespace std; int main() { int n; string s; cin>>n>…… 题解列表 2024年08月08日 0 点赞 0 评论 244 浏览 评分:0.0
1108: 守望者的逃离 贪心 摘要:解题思路:贪心注意事项:参考代码:#include<iostream> #include<cmath> using namespace std; int main() { int m,s,…… 题解列表 2024年08月08日 2 点赞 0 评论 441 浏览 评分:0.0
三个字符串的排序,使用选择排序 摘要:解题思路: 输入三个字符串,并存入一个数组中,对该数组元素进行选择排序。注意事项:无参考代码:#include<iostream> using namespace std; #include<st…… 题解列表 2024年08月09日 3 点赞 1 评论 621 浏览 评分:10.0