编写题解 1670: 拆分位数 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int a = 0, b = 0, c = 0; int num = 0; sca…… 题解列表 2022年07月30日 0 点赞 0 评论 479 浏览 评分:0.0
编写题解 1020: [编程入门]猴子吃桃的问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int i = 2; int n = 0; int sum = 1; scan…… 题解列表 2022年07月30日 0 点赞 0 评论 373 浏览 评分:0.0
python--倒叙解法 摘要:解题思路:从后往前推,计算从每个位置开始的可以拦截的最多的 导弹数注意事项:无参考代码:tall = list(map(int, input().split()))tall.reverse()max_…… 题解列表 2022年07月30日 0 点赞 0 评论 616 浏览 评分:0.0
简单粗暴===保留字母 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[80]; gets(a);//从键盘获取字符串,回…… 题解列表 2022年07月30日 0 点赞 0 评论 454 浏览 评分:9.9
用python打个样 摘要:解题思路:注意事项:参考代码:a=float(input())print('%f'%a)print('%.5f'%a)print('%e'%a)prin…… 题解列表 2022年07月30日 0 点赞 0 评论 699 浏览 评分:9.9
用format函数格式化输出 摘要:解题思路:水平不高勉强看看吧注意事项:参考代码:a,b,c,d=map(str,input().split())print('{0} {1:>4d} {2:.2f} {3:.12f}'…… 题解列表 2022年07月30日 0 点赞 0 评论 657 浏览 评分:9.0
解码 (Java代码) 摘要:import java.util.Scanner; public class Main { public static void main(String[] args) { …… 题解列表 2022年07月30日 0 点赞 0 评论 545 浏览 评分:9.0
循环题解矩形的福利 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std; int main() { int i,j; int t,a=0…… 题解列表 2022年07月30日 0 点赞 0 评论 439 浏览 评分:9.9
2327: 信息学奥赛一本通T1311-求逆序对(树状数组+离散化) 摘要:通过题目知道逆序对知道当前数后面比他小的数就是逆序对,那么我们知道树状数组返回的就是前缀和,那么我们只将数据当成下标从后往前放入树状数组中,然后对其+1,然后求他前面一个数的前缀和就是当前数的逆序对数…… 题解列表 2022年07月30日 0 点赞 3 评论 598 浏览 评分:9.9
编写题解 1019: [编程入门]自由下落的距离计算 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int t = 0; double h = 0; double sum = 0; i…… 题解列表 2022年07月30日 0 点赞 0 评论 295 浏览 评分:0.0