编写题解 2835: 计算书费 摘要:解题思路:注意事项:参考代码:price = (28.9, 32.7, 45.6, 78, 35, 86.2, 27.8, 43, 56, 65)quantity = tuple(map(int, i…… 题解列表 2023年10月08日 0 点赞 0 评论 308 浏览 评分:0.0
整数大小比较 摘要:解题思路:注意事项: = 是赋值,==是等于。参考代码:、#include<stdio.h>int main(){ int a,b; scanf("%d %d…… 题解列表 2023年10月08日 0 点赞 0 评论 289 浏览 评分:0.0
凯撒密码—字母循环 摘要:####这个题的关键是要把26个大写字母循环起来 解题思路: 题意是把每个字符串的字符向左移五位然后输出新的字符串,根据Ascll表可以知道对字符减5可以得到左移5位的字符,遍历每次输入的字符串对…… 题解列表 2023年10月08日 0 点赞 0 评论 382 浏览 评分:0.0
C语言考试练习题_一元二次方程 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<math.h> int main() { int a,b,c; scanf("%d%d%d",&a,&…… 题解列表 2023年10月08日 0 点赞 0 评论 320 浏览 评分:0.0
C语言思路简单,易懂!!! 理解万岁 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#define len sizeof(Queue)typedef struct s{ in…… 题解列表 2023年10月08日 0 点赞 0 评论 332 浏览 评分:0.0
题解 1370: SPY 摘要:解题思路:这是一个普通的模拟判定题。在这里,我们把每个人物名字用map存起来方便处理数据。题目中需要我们判断去逮捕哪些可能的间谍,通过3个列表中的人名来进行判定。A列表:到来的人B列表:将要从Y城送来…… 题解列表 2023年10月08日 0 点赞 0 评论 399 浏览 评分:0.0
奇偶数之和(题目的意思是包括n的) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int n; scanf("%d",&n); int odd=0,even=0;//odd是…… 题解列表 2023年10月08日 0 点赞 0 评论 235 浏览 评分:0.0
题解 1060: 二级C语言-同因查找 摘要:解题思路:既然要求出10至1000之内能同时被2、3、7整除的数,那么就直接求出2*3*7的值并能整除此积的数。参考代码:#include<iostream> using namespace std…… 题解列表 2023年10月09日 0 点赞 0 评论 253 浏览 评分:0.0
自定义函数之字符串连接 摘要:解题思路:用字符串连接函数即可注意事项:参考代码:#include<stdio.h>int main(){ char a[100],b[100]; gets(a); gets(b);…… 题解列表 2023年10月09日 0 点赞 0 评论 347 浏览 评分:0.0
C语言训练-大、小写问题 摘要:解题思路:利用for循环,查看ASCII码值即可注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[100]; …… 题解列表 2023年10月09日 0 点赞 0 评论 268 浏览 评分:0.0