优质题解 编写题解 1003: [编程入门]密码破译,扩展使用字符函数解决问题 解题思路:一个C语言初学者的学习心得,在学习的过程,我们不应该单纯地看着某一道题来解决单一的问题,应该学会举一反三,思考一个通用规律,面向对象解决问题比面向结果解决问题更重要。下面,是我在探索关于字符串的转换问题的一些想法,如果有错,也希望大佬们指出我所说的一些错误。 题解列表 2023年07月15日 5 点赞 2 评论 2579 浏览 评分:9.1
整数平均值 摘要:解题思路:不太标准,写着玩的。注意事项:参考代码:#include<iostream>using namespace std;int aver(int *p,int n){ int s=0; …… 题解列表 2023年07月15日 0 点赞 0 评论 465 浏览 评分:0.0
[编程入门]字符串分类统计 摘要:参考代码:#include<stdio.h>#include<string.h>#include<ctype.h>int main(){ char str[200]; int len,le…… 题解列表 2023年07月15日 0 点赞 0 评论 629 浏览 评分:9.9
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n, i, j, k, l; while (scanf("%d", &n) != EOF) …… 题解列表 2023年07月14日 0 点赞 0 评论 542 浏览 评分:0.0
输入10个整数,求它们的平均值,并输出大于平均值的数据的个数。 摘要:参考代码:#define _CRT_SECURE_NO_WARNINGS 1 #include<stdio.h>//头文件 int main(){ int a[10] = { 0 }; int i, …… 题解列表 2023年07月14日 0 点赞 0 评论 580 浏览 评分:0.0
计算邮费问题 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a; char c; scanf("%d %c",&a,&c); if(a<=…… 题解列表 2023年07月14日 0 点赞 0 评论 558 浏览 评分:9.9
3015: 幂的末尾(C语言简单解法) 摘要: #include int main() { int a, b; scanf("%d %d", &a, &b); int result = 1; for (int i =…… 题解列表 2023年07月14日 1 点赞 1 评论 646 浏览 评分:9.9
优质题解 3014: 计算星期几(C语言详细解答) 摘要: #include int main() { char* weekdays[] = {"Sunday", "Monday", "Tuesday", "Wednesday", "Thur…… 题解列表 2023年07月14日 1 点赞 2 评论 1052 浏览 评分:9.9
1015: [编程入门]求和训练 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main() { int a, bv=0,b=0, c=0; float d=0; scanf_s("%d%d%d", &a, …… 题解列表 2023年07月14日 0 点赞 0 评论 433 浏览 评分:0.0
检查一个数是否为质数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n; cin>>n; if(n=…… 题解列表 2023年07月14日 0 点赞 0 评论 373 浏览 评分:0.0