[编程入门]矩阵对角线求和 (C语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[3][3],i,j,s,w; s=0; w=0; for(i=0;i<3;i…… 题解列表 2023年11月18日 0 点赞 0 评论 304 浏览 评分:0.0
: 计算邮资最简单方法 摘要:解题思路:用ceil函数注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int j,n;//重,钱 char ch;//加不加急 scan…… 题解列表 2023年11月18日 0 点赞 0 评论 697 浏览 评分:9.9
我这个有问题,有大佬吗帮忙看看 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,i=2,count=0,c=0; scanf("%d",&a); /…… 题解列表 2023年11月18日 0 点赞 2 评论 662 浏览 评分:8.0
[编程入门]宏定义之闰年判断 def模块版 摘要:解题思路:注意事项:参考代码:def LEAP_YEAR(y): if y%400==0 or (y%4==0 and y%100!=0) : print('L')…… 题解列表 2023年11月18日 0 点赞 0 评论 340 浏览 评分:0.0
2790: 分段函数 更简洁版本 摘要:解题思路:注意事项:参考代码:a=float(input())y=0if 0<=a<5: y=-a+2.5elif 5<=a<10: y=2-1.5*(a-3)*(a-3)elif 10<…… 题解列表 2023年11月18日 0 点赞 0 评论 345 浏览 评分:0.0
字符串判等(方法也简单,简洁明了,注意:要使用isspace()函数,不然不能通过) 摘要:解题思路:注意事项:参考代码: #include<stdio.h> #include<ctype.h> #include<string.h> #include<stdlib.h…… 题解列表 2023年11月18日 0 点赞 0 评论 593 浏览 评分:9.9
hello,world题解! 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ cout<<"Hello,World!"; …… 题解列表 2023年11月18日 0 点赞 0 评论 490 浏览 评分:6.0
2789: 骑车与走路Python 摘要:解题思路:注意事项:参考代码:a=int(input())bike=(a/3)+27+23walk=a/1.2if bike>walk: print('Walk')elif bi…… 题解列表 2023年11月18日 0 点赞 0 评论 433 浏览 评分:6.0
治炼金属python题解 摘要:解题思路:注意事项:参考代码:N=int(input())V1 = []V2 = []for i in range(N): A,B=map(int,input().split()) V1.…… 题解列表 2023年11月18日 0 点赞 1 评论 655 浏览 评分:9.9
[编程入门]报数问题,Java用递归的思想,将数组模拟成一个圈 摘要:解题思路:循环实现,将数组模拟成一个圈注意事项:大佬帮忙看看优化,指正思路;参考代码:import java.util.Scanner;public class Demo01 { public …… 题解列表 2023年11月18日 0 点赞 0 评论 391 浏览 评分:9.9