python关键字:islower&isupper&isdigit;chr&ord 摘要:问题十分简单。我们要接收一个字符串,遍历它,然后对每个字符做判断基本的代码框架是:string=input() #接收输入count=0 #计数器for i in string:…… 题解列表 2024年01月02日 0 点赞 1 评论 286 浏览 评分:9.9
题解 1138: C语言训练-求矩阵的两对角线上的元素之和 C语言 摘要:解题思路:注意事项:次对角线的特点是,行号与列号之和等于数组边长减一,而不是j+i=2参考代码:#include <stdio.h>int main() { int arrsize, i, j, co…… 题解列表 2024年01月02日 0 点赞 0 评论 194 浏览 评分:0.0
题解 1025: [编程入门]数组插入处理 C语言 摘要:解题思路:注意事项:参考代码:#define _CRT_SECURE_NO_WARNINGS#include <stdio.h>int main() { int arr[10]; // 10个元…… 题解列表 2024年01月02日 0 点赞 0 评论 214 浏览 评分:0.0
2812: 球弹跳高度的计算 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { double meter,sum=0,s=0;…… 题解列表 2024年01月02日 0 点赞 0 评论 243 浏览 评分:0.0
自定义函数处理最大公约数与最小公倍数 摘要:解题思路:先去求最大公约数,然后求最小公倍数注意事项:最小公倍数=两数相乘/最大公约数参考代码:#include<bits/stdc++.h>using namespace std;int da(in…… 题解列表 2024年01月02日 0 点赞 0 评论 254 浏览 评分:0.0
DSTJZ-平均值计算 摘要:参考代码:#include<iostream> using namespace std; int main() { int arr[10]; int sum = 0;…… 题解列表 2024年01月02日 0 点赞 0 评论 297 浏览 评分:9.9
1783: 星期判断机 摘要:解题思路:注意事项:不要写错单词!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!参考代码:#include <bits/stdc++.h>using namespace std;i…… 题解列表 2024年01月02日 0 点赞 0 评论 174 浏览 评分:9.9
2791: 计算邮资 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int c = 0; int a; cin…… 题解列表 2024年01月02日 0 点赞 0 评论 218 浏览 评分:9.9
这题目?? 摘要:参考代码:#include<iostream>using namespace std;int main(){ cout << "D " << "C";}…… 题解列表 2024年01月02日 0 点赞 0 评论 525 浏览 评分:8.7
2816: 统计满足条件的4位数个数 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int arr[101]; int n…… 题解列表 2024年01月02日 0 点赞 0 评论 256 浏览 评分:0.0