[编程入门]自定义函数之字符串拷贝 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char arr1[20] = { '0' }; char arr2[20] = {…… 题解列表 2023年11月12日 0 点赞 0 评论 291 浏览 评分:2.0
萌新出品:2749: Hello, World! 摘要:参考代码:#include<iostream>using namespace std;int main(){ cout <<"Hello, World!"; return 0;}c完记的给好评…… 题解列表 2023年11月12日 0 点赞 0 评论 945 浏览 评分:9.0
矩阵交换行(二维数组)(简单易懂) 摘要:解题思路:1. 引入必要的头文件 `stdio.h` 和 `math.h`。2. 定义一个大小为 5x5 的整型数组 `arr`,用于存储输入的数据。3. 定义两个变量 `i` 和 `j`,用于在循环…… 题解列表 2023年11月12日 0 点赞 0 评论 714 浏览 评分:0.0
2768: 与圆相关的计算 摘要:解题思路:注意事项:a要定义成小数参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double a,b,c,d; …… 题解列表 2023年11月12日 0 点赞 0 评论 401 浏览 评分:9.9
原神andc++萌新出品 题解:1267: A+B Problem 摘要:原神 启动!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!参考代码: #include<iostream>using namespace std;int main(){ …… 题解列表 2023年11月12日 0 点赞 0 评论 267 浏览 评分:8.0
1953: 三位数分解 摘要:解题思路:注意事项:数位的算法参考代码:#include <iostream>using namespace std;int main(){ int a,b,c,d; cin>>d; …… 题解列表 2023年11月12日 0 点赞 0 评论 627 浏览 评分:9.9
1953: 三位数分解 摘要:解题思路:注意事项:数位的算法参考代码:#include <iostream>using namespace std;int main(){ int a,b,c,d; cin>>d; …… 题解列表 2023年11月12日 0 点赞 0 评论 573 浏览 评分:9.9
2764: 带余除法 摘要:解题思路:注意事项:cin不能用,参考代码:#include <iostream>using namespace std;int main(){ int a,b,c,d; cin>>a>>…… 题解列表 2023年11月12日 0 点赞 0 评论 448 浏览 评分:9.9
三位数分解(题解) 摘要:解题思路:输入一个三位整数,分三行分别输出这个三位数的百位、十位、个位数。输入格式注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int m…… 题解列表 2023年11月12日 0 点赞 0 评论 465 浏览 评分:9.9
成绩排序(Python实现) 摘要:解题思路:注意事项:参考代码:def sort_students(students): students.sort(key=lambda x: (x[2], x[0], x[1])) re…… 题解列表 2023年11月12日 0 点赞 0 评论 441 浏览 评分:0.0