编写题解 2002: 计算数字个数 python 摘要:解题思路:无注意事项:使用了try参考代码:s = input() flag = 0 for i in range(len(s)): try: if int(s[i])…… 题解列表 2021年04月24日 0 点赞 0 评论 226 浏览 评分:0.0
1044: [编程入门]三个字符串的排序c语言 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){ char c[100],d[100],e[100]; char …… 题解列表 2021年04月24日 0 点赞 0 评论 333 浏览 评分:0.0
编写题解 1544: 蓝桥杯算法提高VIP-特殊的质数肋骨 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; //判断素数这里需要检查的范围为,2~sqrt(n) bool ju…… 题解列表 2021年04月24日 0 点赞 1 评论 342 浏览 评分:9.9
1043: [编程入门]三个数字的排序(冒泡排序法) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[3]={0};//对数组进行清空 int i,j; int t; scanf…… 题解列表 2021年04月24日 0 点赞 0 评论 304 浏览 评分:0.0
1042: [编程入门]电报加密 c语言 摘要:解题思路:注意事项:分开写出z的情况参考代码:#include<stdio.h>#include<string.h>int main(){ char str[100]={0}; int i…… 题解列表 2021年04月24日 0 点赞 0 评论 351 浏览 评分:0.0
求长方形面积(C语言题解) 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main() { int A,B; scanf("%d %d",&A,&B); printf…… 题解列表 2021年04月24日 0 点赞 0 评论 1320 浏览 评分:7.7
编写题解 1040: [编程入门]实数的打印 摘要:解题思路:注意事项:换行的操作不可忘参考代码:#include<stdio.h>int main(){ float n; int i,j; scanf("%f",&n); for(i=1;i<=3;i…… 题解列表 2021年04月24日 0 点赞 0 评论 336 浏览 评分:0.0
水仙花数判断 摘要:解题思路:对三位数的取整及取余即可。注意事项:其中十位数要先取整再取余。参考代码:#include<stdio.h>#include<math.h>int main(){ int n,s; for(n…… 题解列表 2021年04月24日 0 点赞 1 评论 273 浏览 评分:7.3
使用动态分配来解决问题 摘要:解题思路:注意事项:申请后释放参考代码:#include <stdio.h>#include<malloc.h>int main(){ int n,i,sum=0; int *p; …… 题解列表 2021年04月24日 0 点赞 0 评论 409 浏览 评分:8.7
我愿称之为最捞解法 摘要:解题思路:if 就完事了‧★,:*:‧\( ̄▽ ̄)/‧:*‧°★* 注意事项:参考代码:#include<stdio.h> int main() { int a, b; scanf("%…… 题解列表 2021年04月24日 0 点赞 1 评论 315 浏览 评分:7.3