[编程入门]二维数组的转置,简单粗暴!!! 摘要:解题思路:注意事项:参考代码:#define _CRT_SECURE_NO_WARNINGS#include<stdio.h>int main(){ int a[9],b[9], i; for (i …… 题解列表 2022年09月25日 0 点赞 0 评论 268 浏览 评分:9.9
1135: C语言训练-求s=a+aa+aaa+aaaa+aa...a的值 摘要:```cpp #include #include using namespace std; int main() { int a,n,sum=0; cin>>a>>n;…… 题解列表 2022年09月25日 0 点赞 0 评论 289 浏览 评分:9.9
1136: C语言训练-求具有abcd=(ab+cd)2性质的四位数 摘要:方法一: ```cpp #include using namespace std; int main() { for(int i=1000;i…… 题解列表 2022年09月25日 0 点赞 0 评论 615 浏览 评分:9.9
1137: C语言训练-求函数值 摘要:```cpp #include using namespace std; int f(int x); int main() { int x; cin>>x; c…… 题解列表 2022年09月25日 0 点赞 0 评论 451 浏览 评分:9.9
1138: C语言训练-求矩阵的两对角线上的元素之和 摘要:```cpp #include using namespace std; int main() { int n,sum=0,a[10][10]; cin>>n; …… 题解列表 2022年09月25日 0 点赞 0 评论 301 浏览 评分:9.9
1139: C语言训练-求素数问题 摘要:```cpp #include #include using namespace std; bool ss(int n) { for(int i=2;i>n; for(i…… 题解列表 2022年09月25日 0 点赞 0 评论 300 浏览 评分:9.9
1140: C语言训练-求车速 摘要:方法一: ```cpp #include using namespace std; int main() { int N=95859; while(true) …… 题解列表 2022年09月25日 0 点赞 0 评论 364 浏览 评分:9.9
小学生的c++题解 摘要:解题思路:无注意事项:无参考代码:#include<iostream>using namespace std;int main(){ cout <<sizeof(int) << " "; …… 题解列表 2022年09月25日 0 点赞 0 评论 388 浏览 评分:9.9
1031: [编程入门]自定义函数之字符串反转(多种方法合集) 摘要:解题思路:第一个方法,也是最简单的方法,输入以后逆序输出:这里使用了strlen函数,要记得加上头文件cstring(c语言是string.h)#include <iostream> #includ…… 题解列表 2022年09月27日 0 点赞 0 评论 526 浏览 评分:9.9
萌新也能轻松AC之结构体之时间设计 摘要:# MarkDown编辑器基本使用说明 ```python class Today: 创建年月日结构体 def __init__(self, year, month, day): …… 题解列表 2022年09月27日 0 点赞 0 评论 403 浏览 评分:9.9