题解列表

筛选

明白题意写题解

摘要:注意事项:                要枚举的是游戏的结果,不是游戏方式。不要把石头剪刀布枚举出来。                只是要求用输入的0、1、2表示石头、布、剪刀。参

判断是否为两位数

摘要:解题思路:注意事项:输入的数值大于0参考代码:#include<stdio.h>int main(){    int a;    scanf("%d",&a);    if(a/100<1)    p……

C++求一个闭区间内所有素数和

摘要:解题思路:注意事项:注意1不是素数,在判断是要注意参考代码:#include<iostream>using namespace std;bool check(int i)////用来检验一个数是否是素……

2908: 白细胞计数

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int main(){ int n; float num=0; ……

解决python代码 EOFERROR

摘要:解题思路:注意事项:参考代码:n=int(input())a=[]b=Truewhile b:    try:        x=input()        if x!=&#39;&#39;:   ……

题解 2906: 笨小猴

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int ZS(int n){ if(n<2) return 0; ……