题解列表

筛选

题解 2767: 计算多项式的值

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

题解 2766: 甲流疫情死亡率

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

题解 2758: 打印ASCII码

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

题解 2772: 苹果和虫子

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

2023-3仅供自己回忆使用

摘要:#include<stdio.h>#include<math.h>int main(){    int i=2,n=2,Num=0,control=0;    int th;    scanf("%d……

题解 2773: 计算线段长度

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ double xa = 0; double ya = 0; double xb ……

2839: 石头剪刀布

摘要:#include<stdio.h> #include<math.h> int main() {     int n,na,nb;     scanf("%d %d %d",&n,&na,……

仅8行代码解决(Python)

摘要:解题思路:注意事项:参考代码:# 方法1-BFSdef bfs(queue):    for i in queue:# python语言的特点:列表在遍历的过程中,不断给列表添加元素,遍历继续,直到没……

3021: Pell数列

摘要: import java.util.*; public class Pell数列 { public static void main(String[] args) { Scanner s……