二级C语言-同因查找题解(c语言) 摘要:解题思路:在循环中使用if语句,如果条件成立则输出注意事项:条件例i%7==0 (== “等于“,别搞成一个了)参考代码:#include<stdio.h>int main(){ int n,i; n…… 题解列表 2023年11月01日 0 点赞 0 评论 280 浏览 评分:0.0
C++类的思想题解 摘要:解题思路:使用类的思想,其他的就不说了别的地方都有写。注意事项:参考代码:#include<iostream>using namespace std;class Student {private: s…… 题解列表 2023年11月01日 0 点赞 0 评论 309 浏览 评分:0.0
蓝桥杯算法训练-数据交换 摘要:参考代码: ```c #include void swap(int *x,int *y) { int t=*x; *x=*y; *y=t; } int mai…… 题解列表 2023年10月31日 0 点赞 0 评论 301 浏览 评分:10.0
矩阵归零消减序列和(行啊,好久没见这么绕的题了,最考验循环的一集) 摘要:解题思路:注意事项:记住要得出行最小值时,行的变化为外循环,列的变化为内循环要得出列最小值时,列的变化为外循环,行的变化为内循环参考代码:#include<stdio.h> int main() …… 题解列表 2023年10月31日 1 点赞 2 评论 461 浏览 评分:9.9
这真的是太简单了,有手就行 摘要:解题思路:注意事项:(为了防止control+C,control+V仅供参考,建议在自己的编译器上,先编译运行)参考代码:#include "stdio.h"int main() { int n; i…… 题解列表 2023年10月31日 1 点赞 0 评论 260 浏览 评分:0.0
超级简洁版 摘要:参考代码:#include<iostream>#include<algorithm>using namespace std;const int N =310;double a[N];int main(…… 题解列表 2023年10月31日 0 点赞 0 评论 362 浏览 评分:9.9
本题的思路要清晰 摘要:解题思路:将两边的数字调换位置注意事项:循环次数为5次参考代码:#include<stdio.h>int main(){ int a[10],i,temp; for(i=0;i<10;…… 题解列表 2023年10月31日 0 点赞 0 评论 251 浏览 评分:0.0
C语言训练-阶乘和数* 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h> int Weishu(int n)//判断位数{ int i = 0; while (n …… 题解列表 2023年10月31日 0 点赞 0 评论 431 浏览 评分:10.0
!三个字符串的排序 摘要:#include <stdio.h>#include <string.h> int main(){ char x[100];char y[100];char z[100]; char c1[100]…… 题解列表 2023年10月31日 0 点赞 0 评论 317 浏览 评分:9.9
java题解 最简单的解法 摘要:解题思路:注意事项:参考代码:public class Main { public static void main(String[] args) { System.out.pri…… 题解列表 2023年10月31日 0 点赞 0 评论 556 浏览 评分:9.9