for循坏简简单单解决 2808 摘要:解题思路:注意事项:参考代码:#includeint main(){ int N,K; double s=200; scanf("%d%d",&N,&K); for(i…… 题解列表 2022年11月25日 0 点赞 0 评论 781 浏览 评分:8.3
哈哈哈哈哈 摘要:解题思路:注意事项:参考代码:x=list(map(int,input().split()))x.sort(reverse=True)for i in x: print(i,end=' …… 题解列表 2022年11月25日 0 点赞 0 评论 445 浏览 评分:7.3
结构体之成绩统计 摘要:解题思路:注意事项:参考代码:n=int(input())sn=a=b=c=0d=[]for i in range(n): lis=input().split() if int(lis[-…… 题解列表 2022年11月26日 0 点赞 0 评论 414 浏览 评分:0.0
蓝桥杯兰顿蚂蚁 摘要:```java package 蓝桥杯刷题; import java.util.Scanner; public class 兰顿蚂蚁 { public static void m…… 题解列表 2022年11月26日 0 点赞 0 评论 487 浏览 评分:9.9
C语言简便方法解决 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int arr[256][101] = { 0 }; int a, b; …… 题解列表 2022年11月26日 1 点赞 0 评论 843 浏览 评分:9.9
1013: [编程入门]Sn的公式求和(java代码) 摘要:解题思路:解法一:根据规律发现每一项数字都是前面一项的10倍+2(2,20+2, 220+2,.....)。解法二:把每一项数字拆开(2*100,(2*100+2*101),(2*100+2*101+…… 题解列表 2022年11月26日 0 点赞 0 评论 597 浏览 评分:0.0
2772: 苹果和虫子 摘要:解题思路:注意事项:参考代码:import mathn, x, y = map(int,input().strip().split())print(math.floor(n - y / x)) …… 题解列表 2022年11月26日 0 点赞 0 评论 714 浏览 评分:4.7
C++三目超简 摘要:解题思路:如果年份整除于4但不整除于100则为普通闰年,如果年份整除于400则为世纪闰年.我们可以通过三目运算符来进行判断。注意事项:注意格式规范参考代码:#include <iostream>#de…… 题解列表 2022年11月26日 0 点赞 0 评论 645 浏览 评分:7.3
题目 2818: 分离整数的各个数位 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); int x,y; x=n; …… 题解列表 2022年11月26日 0 点赞 0 评论 630 浏览 评分:9.9
C语言 自定义函数之整数处理& 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define Long 10 //改变Long的大小能输入更多的数并实现该功能int main(){ …… 题解列表 2022年11月26日 0 点赞 0 评论 381 浏览 评分:0.0