题解列表

筛选

注意题目要求

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

普普通通的解题方法

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include <math.h>int gys(int a,int b){ if (a%b == 0) return b; else ……

LETTERS 搜搜搜搜搜搜

摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; // 定义全局变量r和s,kkk初始化为-1 int r, s, kkk ……

数的计数(Noip2001) 记忆化

摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; // 定义一个全局数组kkk,用于存储中间计算结果 int kkk[110……

不懂可评论

摘要:解题思路:注意事项:参考代码:import java.util.Scanner; public class Main{     public static void main(String[] a……

不懂可评论

摘要:解题思路:注意事项:参考代码:a,b,c=map(int,input().split()) deter=b*b-4*a*c x1=(-b+deter**0.5)/2*a x2=(-b-deter……

不懂可评论

摘要:解题思路:注意事项:参考代码:import java.util.Scanner; public class Main{     public static void main(String[] a……

不懂可评论

摘要:解题思路:注意事项:参考代码:year=int(input()) if((year%4==0)and(year%100!=0)or(year%400==0)):     print("Y") e……