题解列表

筛选

题解1040:【编程入门】实数的打印

摘要:# **题目解释** 在题目中以为一个实数的打印,在其他的数字并没有问题,问题在于小数点是精确到两位小数,那么我们就必须用到一个一个头文件和语句来实现。 # 代码理解 #includ……

2864: 单词替换

摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> int main() {     int n = 0;     char s[10……

简单粗暴的解法

摘要:解题思路:立方用自定义函数,主函数用for循环注意事项:参考代码:#include<stdio.h>double power(double n,int p){ int i;double pow=1; ……

应该是这个吧

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    float a;    double b;    scanf("%f%lf",&a,&b);    pri……

1秒看懂思路

摘要:解题思路:注意事项:有些数据太大int型无法接收,需要用long型参考代码:import java.util.Scanner;public class Tom数 { public static voi……

c++字符串加密病历单

摘要:解题思路:注意事项:xyz的逆序输出参考代码:#include <bits/stdc++.h>using namespace std;int main (){ string tmp; char ans……

大整数乘法(详细版)

摘要:解题思路:这里的思路就是进位法,这种高精度的题目必须要用到数组去保存,所以这类题都是用数组来做。注意事项:参考代#include<stdio.h>#include<string.h>int main(……

基础入门)交换值

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    int a,b;    scanf("%d%d",&a,&b);    printf("%d %d",b,……

我是硬解的废物

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){    int n,p1=0,p2=0;    char s1[10],s2[……

哈哈哈哈哈

摘要:解题思路:注意事项:参考代码:x=list(map(int,input().split()))x.sort(reverse=True)for i in x:    print(i,end=&#39; ……