最长单词2(C语言,短小精悍) 摘要:解题思路:可以用两个数组a,b,因为%s是不收取空格,用while循环每次获取一段,然后对比当然也可以用二维数组注意事项:参考代码:#include<stdio.h> #include<string…… 题解列表 2024年01月09日 1 点赞 0 评论 340 浏览 评分:0.0
编写题解 2883: 矩阵加法 摘要:解题思路:注意事项:参考代码:def matrix(n, m, A, B): result_matrix = [] for i in range(n): row_result…… 题解列表 2024年01月09日 0 点赞 0 评论 202 浏览 评分:0.0
2903 不高兴的津津 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args…… 题解列表 2024年01月10日 0 点赞 0 评论 167 浏览 评分:0.0
取引用+substr复制字符串 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<string>using namespace std;void Copy(string &str_1, string…… 题解列表 2024年01月10日 0 点赞 0 评论 123 浏览 评分:0.0
2799: 奥运奖牌计数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long sum=0; long l…… 题解列表 2024年01月10日 0 点赞 0 评论 95 浏览 评分:0.0
2801: 奇数求和 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b; cin>>a>>b; …… 题解列表 2024年01月10日 0 点赞 0 评论 129 浏览 评分:0.0
2803: 整数的个数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int k; cin>>k; long lo…… 题解列表 2024年01月10日 0 点赞 0 评论 91 浏览 评分:0.0
2806: 人口增长问题 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double x,n; cin>>x>>n; …… 题解列表 2024年01月10日 0 点赞 0 评论 137 浏览 评分:0.0
2805: 乘方计算 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,n; int mer=1; …… 题解列表 2024年01月10日 0 点赞 0 评论 134 浏览 评分:0.0
[编程入门]三个数最大值 摘要:解题思路:使用qsort函数注意事项:参考代码:#include<stdio.h>#include<stdlib.h>int cmp(const void*a,const void*b){ re…… 题解列表 2024年01月10日 0 点赞 0 评论 160 浏览 评分:0.0