最大公约数与最小公倍数 摘要:解题思路:用辗转相除法求最大公约数,在求出最小公倍数。最后再调用函数即可。注意事项:参考代码:#include<stdio.h>int f(int a,int b){ if(b==0) r…… 题解列表 2023年09月24日 0 点赞 0 评论 472 浏览 评分:0.0
1781: 登陆验证问题(一) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { string str1,str2; c…… 题解列表 2023年09月24日 0 点赞 0 评论 541 浏览 评分:0.0
1779: 你的第一个C语言程序 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { cout<<"Just do IT"<<endl…… 题解列表 2023年09月24日 0 点赞 0 评论 960 浏览 评分:2.0
1778: 罗列完美数 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int num; int sum=0;…… 题解列表 2023年09月24日 0 点赞 0 评论 466 浏览 评分:9.9
C语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int f(int n){ if(n==1||n==2) { return 1; } else …… 题解列表 2023年09月24日 0 点赞 0 评论 643 浏览 评分:0.0
1050: [编程入门]结构体之成绩记录 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<string> using namespace std; //创建学生结构体 struct Student…… 题解列表 2023年09月24日 0 点赞 0 评论 551 浏览 评分:9.9
1049: [编程入门]结构体之时间设计 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; //定义日期结构体 struct Date { int year; …… 题解列表 2023年09月24日 0 点赞 0 评论 555 浏览 评分:9.9
1042: [编程入门]电报加密 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> void fun(char a[])//向后移动一位 { for (int …… 题解列表 2023年09月24日 0 点赞 0 评论 426 浏览 评分:9.9
1777: 循环练习之完美数判断 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int n; int j=0; …… 题解列表 2023年09月24日 0 点赞 0 评论 442 浏览 评分:0.0
1024: [编程入门]矩阵对角线求和 摘要:解题思路:注意事项:参考代码:#include<cstdio> int a[15]; int main() { for(int i=1;i<=9;i++) scanf("%…… 题解列表 2023年09月24日 0 点赞 0 评论 422 浏览 评分:9.9