优质题解 题解 1024: [编程入门]矩阵对角线求和(C) 摘要:题目:求三阶矩阵的主副对角线之和,并分别输出。主要步骤:1.输入三阶矩阵2.对主对角线元素求和3.对副对角线元素求和4.分别输出思路分析:在主函数中输入矩阵,调用主对角线求和函数和副对角线求和函数求和…… 题解列表 2022年08月06日 0 点赞 4 评论 2423 浏览 评分:6.3
111111111111111111111111111111111111111111111111111111111111 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int i,j,k,sum; for(i=2;i<99…… 题解列表 2022年08月06日 0 点赞 0 评论 324 浏览 评分:0.0
骗 过 上 帝 的 代 码 摘要:解题思路:因为所有的阿姆斯特朗数只有四个,所以可以用这个投机取巧的方法注意事项:【手动滑稽】参考代码:#include<stdio.h>int main(){ printf("153 370 3…… 题解列表 2022年08月06日 0 点赞 2 评论 320 浏览 评分:9.9
蓝桥杯2015年第六届真题-打印大X(C++) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int m, n; cin >> m >> n;…… 题解列表 2022年08月06日 0 点赞 0 评论 499 浏览 评分:0.0
骗 过 上 帝 的 题 解 摘要:解题思路:由于与阿姆斯特朗数一样,因此不再赘述。还是那四个数注意事项:【手动滑稽】参考代码:#include<stdio.h>int main(){ printf("153\n"); pr…… 题解列表 2022年08月06日 0 点赞 0 评论 364 浏览 评分:9.9
无敌的解法 摘要:解题思路:简单直接输入A注意事项:有时会多出问号,注意删除。参考代码:#include<stdio.h>int main(){ printf("A");return 0;}…… 题解列表 2022年08月06日 0 点赞 2 评论 415 浏览 评分:9.9
链表的删除练习(C语言版) 摘要: #include #include #include //题目 2024: 链表删除练习 typedef struct N…… 题解列表 2022年08月06日 0 点赞 0 评论 661 浏览 评分:0.0
数字逆序输出——两行代码 摘要:# 数字逆序输出——两行代码 其实并不需要把输入转换成列表,直接用字符串就可以实现操作 ```python a = input() print(a[::-1]) ``` 两行代码完美解决逆…… 题解列表 2022年08月06日 0 点赞 0 评论 456 浏览 评分:8.0
蓝桥杯2018年第九届真题-递增三元组(很简洁易懂) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;const int N = 1e5 + 7;int a[N];int b[N];in…… 题解列表 2022年08月06日 0 点赞 0 评论 377 浏览 评分:8.0
2331-信息学奥赛一本通T1180-分数线划定 摘要:解题思路:随便什么排序都能用参考代码:(这里我用冒泡)#include<iostream> using namespace std; struct xx{ int a; int b; }…… 题解列表 2022年08月06日 0 点赞 0 评论 448 浏览 评分:0.0