for循坏简简单单解决 2808 摘要:解题思路:注意事项:参考代码:#includeint main(){ int N,K; double s=200; scanf("%d%d",&N,&K); for(i…… 题解列表 2022年11月25日 0 点赞 0 评论 908 浏览 评分:8.3
哈哈哈哈哈 摘要:解题思路:注意事项:参考代码:x=list(map(int,input().split()))x.sort(reverse=True)for i in x: print(i,end=' …… 题解列表 2022年11月25日 0 点赞 0 评论 570 浏览 评分: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 评论 535 浏览 评分:0.0
蓝桥杯兰顿蚂蚁 ```javapackage蓝桥杯刷题;importjava.util.Scanner;publicclass兰顿蚂蚁{publicstaticvoidmain(String[]args){Scannerscanner=newScanner(System.in);intm=scanner.nextIn 题解列表 2022年11月26日 0 点赞 0 评论 640 浏览 评分:9.9
C语言简便方法解决 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int arr[256][101] = { 0 }; int a, b; …… 题解列表 2022年11月26日 1 点赞 0 评论 982 浏览 评分:9.9
1013: [编程入门]Sn的公式求和(java代码) 解题思路:解法一:根据规律发现每一项数字都是前面一项的10倍+2(2,20+2,220+2,.....)。解法二:把每一项数字拆开(2*100,(2*100+2*101),(2*100+2*101+2*102),……)可以将每一项数字直接相加(同法一), 题解列表 2022年11月26日 0 点赞 0 评论 795 浏览 评分:0.0
2772: 苹果和虫子 摘要:解题思路:注意事项:参考代码:import mathn, x, y = map(int,input().strip().split())print(math.floor(n - y / x)) …… 题解列表 2022年11月26日 0 点赞 0 评论 843 浏览 评分:4.7
C++三目超简 摘要:解题思路:如果年份整除于4但不整除于100则为普通闰年,如果年份整除于400则为世纪闰年.我们可以通过三目运算符来进行判断。注意事项:注意格式规范参考代码:#include <iostream>#de…… 题解列表 2022年11月26日 0 点赞 0 评论 801 浏览 评分:7.3
题目 2818: 分离整数的各个数位 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); int x,y; x=n; …… 题解列表 2022年11月26日 0 点赞 0 评论 760 浏览 评分:9.9
C语言 自定义函数之整数处理& 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define Long 10 //改变Long的大小能输入更多的数并实现该功能int main(){ …… 题解列表 2022年11月26日 0 点赞 0 评论 538 浏览 评分:0.0