题解列表

筛选

ikun崩溃代码

摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ double t; scanf("%lf",&t); if (t<=20){ printf("%.2lf",……

再多看一眼就会爆炸

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

1127基础解法(Python)

摘要:解题思路:可以用数学原理,也可以当做找规律注意事项:参考代码:n = int(input())cubic = pow(n, 3)square = pow(n, 2)if square % 2 == 0……

结构体之时间设计C语言

摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>struct date{    int year;    int month;    int d……

python最大配对简单解法

摘要:B=[]n=int(input())A=list(map(int,input().split()))A.sort()  #正序排序(小到大)b=list(map(int,input().split()……

亲和数(水题)

摘要:```c #include long long f(int n){ long long i,sum=0; for(i=1;i……