题解列表

筛选

明白题意写题解

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

采药python,不知哪里错了,请求支援

摘要:解题思路:注意事项:参考代码:各位大神帮我看看哪里有问题,实在找不出哪里错了。。。。。我测试的数据都成功t,m = map(int,input().split())s = []h = 0sum = 0……

C语言代码(循环+数列)

摘要: #include #include int main() { // 实现逆序,判断回文数均可写成函数 int n;// 几进制 char ch1[50] = { 0 ……

1159: 偶数求和

摘要:```cpp #include using namespace std; int main() { int n,m,num[100]; num[0]=2; for……

1160: 出圈(c++)

摘要:```cpp #include using namespace std; int main() { int n,m; while(cin>>n>>m) { ……

完数的判断

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

苹果和虫子(超简单)

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){    int n, x, y;    cin >> n >> x >>……