蛇行矩阵Python解题 摘要:解题思路:双重for循环注意事项:注意m的计算方式参考代码:while True: n=int(input()) for i in range(n): m = int((i+…… 题解列表 2021年11月02日 0 点赞 0 评论 656 浏览 评分:9.9
[编程入门]温度转换---for循环---(Python) 摘要:解题思路:通过for循环遍历求出f注意事项:f为正数参考代码:for c in range(-100,151,5): f = int(32 + c* 9/5) print("c={}->f…… 题解列表 2021年11月02日 0 点赞 0 评论 1350 浏览 评分:9.9
C语言训练-角谷猜想 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(){ int a,b,c; scanf("%d",&a); while(a!=1){ print…… 题解列表 2021年11月02日 0 点赞 0 评论 766 浏览 评分:9.9
数字的处理与判断 摘要:#include<stdio.h> #include<string.h> //strlen()包含其中 #define MAX 6 //方便修改取值上限 int main() { …… 题解列表 2021年11月02日 0 点赞 0 评论 442 浏览 评分:0.0
字符串中间和后边*号删除 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int fun(char *a){ int i,j; char b[81]; for(i=0;a[i]=='*…… 题解列表 2021年11月02日 0 点赞 0 评论 773 浏览 评分:9.9
成绩等级评定,简单易懂(C++) 摘要:解题思路:switch应用,多分支评定成绩注意事项:基础知识的应用参考代码:#include<stdio.h>int main(){ int x,y; scanf("%d",&x); y=x/10; …… 题解列表 2021年11月02日 0 点赞 0 评论 1138 浏览 评分:5.7
1671,好懂的方法 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>int main(){ int a,b,c; for(a=1;a<10;a++){f…… 题解列表 2021年11月02日 0 点赞 0 评论 835 浏览 评分:0.0
1671: 小九九 摘要:简单如斯,随便康康,2333333333参考代码:#include<stdio.h>int main(){ int i,n; for(i=1;i<=9;i++) { for(n=1;n<=i;…… 题解列表 2021年11月02日 0 点赞 0 评论 1472 浏览 评分:8.9
字符串中间和后边*号删除 摘要:解题思路:注意事项:参考代码:#include<string.h>#include<stdio.h> int fun(char *a) { int i,j;…… 题解列表 2021年11月03日 0 点赞 0 评论 909 浏览 评分:9.0
蛇行矩形,极简单做法!(c语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i,j,a[100][100],m=1; scanf("%d", &n); for (i = 0; …… 题解列表 2021年11月03日 0 点赞 0 评论 538 浏览 评分:9.9