题解1040:【编程入门】实数的打印 摘要:# **题目解释** 在题目中以为一个实数的打印,在其他的数字并没有问题,问题在于小数点是精确到两位小数,那么我们就必须用到一个一个头文件和语句来实现。 # 代码理解 #includ…… 题解列表 2022年11月06日 0 点赞 0 评论 376 浏览 评分:7.3
2864: 单词替换 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> int main() { int n = 0; char s[10…… 题解列表 2022年11月07日 0 点赞 0 评论 585 浏览 评分:7.3
简单粗暴的解法 摘要:解题思路:立方用自定义函数,主函数用for循环注意事项:参考代码:#include<stdio.h>double power(double n,int p){ int i;double pow=1; …… 题解列表 2022年11月08日 0 点赞 0 评论 593 浏览 评分:7.3
应该是这个吧 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ float a; double b; scanf("%f%lf",&a,&b); pri…… 题解列表 2022年11月09日 0 点赞 2 评论 819 浏览 评分:7.3
1秒看懂思路 摘要:解题思路:注意事项:有些数据太大int型无法接收,需要用long型参考代码:import java.util.Scanner;public class Tom数 { public static voi…… 题解列表 2022年11月10日 0 点赞 0 评论 446 浏览 评分:7.3
c++字符串加密病历单 摘要:解题思路:注意事项:xyz的逆序输出参考代码:#include <bits/stdc++.h>using namespace std;int main (){ string tmp; char ans…… 题解列表 2022年11月19日 0 点赞 0 评论 885 浏览 评分:7.3
大整数乘法(详细版) 摘要:解题思路:这里的思路就是进位法,这种高精度的题目必须要用到数组去保存,所以这类题都是用数组来做。注意事项:参考代#include<stdio.h>#include<string.h>int main(…… 题解列表 2022年11月20日 0 点赞 2 评论 575 浏览 评分:7.3
基础入门)交换值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; scanf("%d%d",&a,&b); printf("%d %d",b,…… 题解列表 2022年11月20日 0 点赞 0 评论 534 浏览 评分:7.3
我是硬解的废物 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int n,p1=0,p2=0; char s1[10],s2[…… 题解列表 2022年11月24日 0 点赞 0 评论 538 浏览 评分:7.3
哈哈哈哈哈 摘要:解题思路:注意事项:参考代码:x=list(map(int,input().split()))x.sort(reverse=True)for i in x: print(i,end=' …… 题解列表 2022年11月25日 0 点赞 0 评论 361 浏览 评分:7.3