[编程入门]宏定义之闰年判断 def模块版 摘要:解题思路:注意事项:参考代码:def LEAP_YEAR(y): if y%400==0 or (y%4==0 and y%100!=0) : print('L')…… 题解列表 2023年11月18日 0 点赞 0 评论 218 浏览 评分:0.0
[编程入门]矩阵对角线求和 (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 评论 171 浏览 评分:0.0
[编程入门]自定义函数处理素数 (C语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int s,j,i; scanf("%d",&s); j=s; if(s==2) pri…… 题解列表 2023年11月18日 0 点赞 0 评论 139 浏览 评分:0.0
C语言--好理解 摘要:解题思路:简单的if语句的使用;注意事项:用pow(n,m)表示立方,不然只有75分。pow(n,m)代表n的m次方;参考代码:#include <stdio.h>int main(){ int…… 题解列表 2023年11月18日 0 点赞 0 评论 274 浏览 评分:0.0
蓝桥杯算法训练VIP-整数平均值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,sum; int a[n]; int i; scanf("%d",&…… 题解列表 2023年11月18日 0 点赞 0 评论 202 浏览 评分:0.0
买房子(第一年房子没涨价) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int N, K,i=2; float money=200.0; scanf("%d %d", &N, &K);…… 题解列表 2023年11月19日 0 点赞 0 评论 243 浏览 评分:0.0
题解 1001: [编程入门]第一个HelloWorld程序 摘要:解题思路:注意事项:别忘记用endl换行和少打*!参考代码: #include <bits/stdc++.h>//万能头文件 using namespace std;int mai…… 题解列表 2023年11月19日 0 点赞 0 评论 190 浏览 评分:0.0
C语言,结构数组 摘要:解题思路:呃,懒得写了参考代码:#include <stdio.h>typedef struct student{ char number[10]; char name[10]; c…… 题解列表 2023年11月19日 0 点赞 0 评论 214 浏览 评分:0.0
[编程入门]二维数组的转置(C语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[3][3],i,j,t; for(i=0;i<3;i++){ for(j=…… 题解列表 2023年11月19日 0 点赞 0 评论 225 浏览 评分:0.0
救援(总时间) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int n,x,y,num; double distance; double t…… 题解列表 2023年11月19日 1 点赞 0 评论 183 浏览 评分:0.0