【sor魔法再现】1227: 日期排序---史上最短AC代码,只有5行!全新思路!不用结构体,年、月、日加加乘乘就解决——lambda多参数处理+lambda嵌套lambda 摘要:解题思路:【sor魔法再现】1227: 日期排序---史上最短AC代码,只有5行!全新思路!不用结构体,年、月、日加加乘乘就解决——lambda多参数处理+lambda嵌套lambda放个图片,证明确…… 题解列表 2021年12月06日 0 点赞 1 评论 721 浏览 评分:9.9
话费计算的解题方法 摘要:解题思路:月租加通话费用;注意事项:参考代码:#include <stdio.h>int main(){ int n; float sum; scanf("%d",&n); sum=50+n*0.4;…… 题解列表 2021年12月06日 0 点赞 0 评论 366 浏览 评分:0.0
三位数分解 摘要:解题思路:分别除以百位,十位,个位,取最后一位余数;注意事项:%10为取最后一位余数;参考代码:#include <stdio.h>int main(){ int x,a,b,c; scanf("%d…… 题解列表 2021年12月06日 0 点赞 0 评论 480 浏览 评分:0.0
人民币问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,s=0; scanf("%d",&n); for(int i=1;i<=n;i++) for(int…… 题解列表 2021年12月06日 0 点赞 0 评论 301 浏览 评分:0.0
最大值输出 摘要:解题思路:相互比较注意事项:要一步步比较不要搞混参考代码:#include <stdio.h>int main(){int a,b,c,max;scanf("%d%d%d",&a,&b,&c);max…… 题解列表 2021年12月06日 0 点赞 0 评论 261 浏览 评分:0.0
中位数体题解 摘要:解题思路:先选出最大值与最小值再取中间值;注意事项:注意变量的选择;参考代码:#include <stdio.h>int main(){int a,b,c,max,min,sum;scanf("%d%…… 题解列表 2021年12月06日 0 点赞 0 评论 361 浏览 评分:0.0
排序问题,江小白yyds 摘要:解题思路:用c++中的sort,直接排序注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int fun(int a,int b){ retur…… 题解列表 2021年12月06日 0 点赞 0 评论 819 浏览 评分:8.0
蓝桥杯2013年第四届真题-剪格子 python实现 75%错误的解决方案。 摘要: m ,n = map(int,input().strip().split()) l = [[] for _ in range(n)] for i in range(n):…… 题解列表 2021年12月06日 0 点赞 0 评论 567 浏览 评分:0.0
简单(无数组) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(){ int a,b,c; scanf("%d",&a); while(a--){ …… 题解列表 2021年12月06日 0 点赞 0 评论 299 浏览 评分:0.0
发现这道题没什么题解来贡献一个思路 摘要:解题思路:注意事项:由于四个电子数字打在同一行,所以不能一个一个输出,必须想办法同时处理四个数字;参考代码:#include<stdio.h>void done1(int x){ switch(x) …… 题解列表 2021年12月06日 0 点赞 0 评论 419 浏览 评分:2.0