C语言训练-阶乘和数* 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; const int N = 10; int a[N]; int main() {…… 题解列表 2024年08月30日 0 点赞 0 评论 546 浏览 评分:9.9
2880: 计算鞍点 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;long long a[100][100],n,sum=0;int main(){…… 题解列表 2024年08月29日 1 点赞 0 评论 421 浏览 评分:0.0
编写题解 2945: 素数对 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std;int s(int n){ if(n==1) return 0; for(int …… 题解列表 2024年08月28日 0 点赞 0 评论 389 浏览 评分:0.0
1796: 蛇形填数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int j; int a[100][100] …… 题解列表 2024年08月28日 0 点赞 0 评论 359 浏览 评分:0.0
2896: 二维数组右上左下遍历 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <stdlib.h> #include <iostream> using namespace std; …… 题解列表 2024年08月27日 0 点赞 0 评论 198 浏览 评分:9.9
简简单单输入n(n<=100)个整数,按照绝对值从大到小排序后输出。题目保证对于每一个测试实例,所有的数的绝对值都不相等。 摘要:解题思路:注意事项:函数调用一大堆,哈哈哈就是面向对象参考代码:#include <iostream> #include <vector> #include <algorithm> #inclu…… 题解列表 2024年08月27日 0 点赞 0 评论 251 浏览 评分:0.0
出圈,人要麻木了,真的出圈了 摘要:解题思路:注意事项:在判断最后一个函数中的迭代器要两次判断尾参考代码:#include <iostream> #include <vector> using namespace std; voi…… 题解列表 2024年08月27日 0 点赞 0 评论 166 浏览 评分:0.0
1149计算1~N之间所有奇数之和 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ string a; getline(cin, …… 题解列表 2024年08月26日 0 点赞 0 评论 200 浏览 评分:0.0
编写题解 2950: 素数回文数的个数 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std;int s(int n){ for(int i=2;i*i<=n;i++) { …… 题解列表 2024年08月24日 0 点赞 0 评论 443 浏览 评分:0.0
红红火火恍恍惚惚或或或或或或或或或或或或或或或或或或或或或或或 摘要:解题思路:注意事项:1492(题号)参考代码:#include<iostream>#include<cstring>using namespace std;int tag[10][10],d[10],…… 题解列表 2024年08月24日 0 点赞 0 评论 274 浏览 评分:9.9