[编程入门]电报加密 题解 摘要:解题思路:运用了ASCII里的位置就可以做出此题。注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;string s;int main(){…… 题解列表 2022年05月06日 0 点赞 0 评论 661 浏览 评分:0.0
1008: [编程入门]成绩评定 摘要:#include<stdio.h> int main() { int i; scanf("%d",&i); if(i>=90){printf("A");} …… 题解列表 2022年05月06日 0 点赞 0 评论 667 浏览 评分:0.0
[编程入门]自定义函数之数字后移 摘要:解题思路:wu注意事项:wu参考代码:#include<stdio.h>int i, m, n, a[20];int input() { scanf("%d",&n); for (int i …… 题解列表 2022年05月06日 0 点赞 0 评论 556 浏览 评分:0.0
[编程入门]结构体之成绩记录 题解 摘要:解题思路:这题就是简单的结构体输入输出。注意事项:中间要用“,”分隔开,最后一个科目后不用“,”要换行。参考代码:#include<bits/stdc++.h>using namespace std;…… 题解列表 2022年05月06日 0 点赞 0 评论 534 浏览 评分:0.0
带参数宏定义练习 题解(c++) 摘要:解题思路:不就是简单的交换嘛!我提供给大家3种解法。请大家多多支持!注意事项:无。参考代码:第一种是完全按照题目要求去用函数做(推荐);二、三是纯属写答案。1.#include<bits/stdc++…… 题解列表 2022年05月06日 0 点赞 0 评论 578 浏览 评分:0.0
亲和数简单明了的题解 摘要:解题思路:编写一个函数便于解题注意事项:参考代码:#include<iostream>using namespace std;int Sum(int k){ int sum = 0; for (int…… 题解列表 2022年05月06日 0 点赞 0 评论 504 浏览 评分:0.0
[编程入门]字符串分类统计 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){char c;int q=0,w=0,e=0,r=0;while((c=getchar())!='\n&#…… 题解列表 2022年05月06日 0 点赞 0 评论 539 浏览 评分:0.0
宏定义练习之三角形面积 题解 摘要:解题思路:把a、b、c套入题目给出的公式即可。注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;double a,b,c;int main(…… 题解列表 2022年05月06日 0 点赞 0 评论 659 浏览 评分:0.0
宏定义之闰年判断 题解 摘要:解题思路:这题就是判断是否是闰年嘛!简单。判断方法如下:第一、y%4==0并且y%100!=0;第二、y%400==0。注意事项:无。参考代码:#include<bits/stdc++.h>#defi…… 题解列表 2022年05月06日 0 点赞 0 评论 518 浏览 评分:0.0
宏定义之找最大数 题解 摘要:解题思路:用宏定义和自定义函数来找三个数中的最大。注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;double a,b,c;#define…… 题解列表 2022年05月06日 0 点赞 0 评论 542 浏览 评分:0.0