自定义函数之数字后移 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int a[111],b[111];int main(){ int n,m; scanf("%d",&n); …… 题解列表 2023年11月17日 0 点赞 0 评论 99 浏览 评分:0.0
希望大哥们指点指点 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int gongyueshu(int min,int a,int b){ int gongyue; for(int i=mi…… 题解列表 2023年11月17日 0 点赞 0 评论 169 浏览 评分: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 评论 190 浏览 评分:0.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 评论 176 浏览 评分: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 评论 143 浏览 评分: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 评论 118 浏览 评分:0.0
C语言--好理解 摘要:解题思路:简单的if语句的使用;注意事项:用pow(n,m)表示立方,不然只有75分。pow(n,m)代表n的m次方;参考代码:#include <stdio.h>int main(){ int…… 题解列表 2023年11月18日 0 点赞 0 评论 233 浏览 评分:0.0
蓝桥杯算法训练VIP-整数平均值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,sum; int a[n]; int i; scanf("%d",&…… 题解列表 2023年11月18日 0 点赞 0 评论 171 浏览 评分: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 评论 206 浏览 评分:0.0
题解 1001: [编程入门]第一个HelloWorld程序 摘要:解题思路:注意事项:别忘记用endl换行和少打*!参考代码: #include <bits/stdc++.h>//万能头文件 using namespace std;int mai…… 题解列表 2023年11月19日 0 点赞 0 评论 155 浏览 评分:0.0