题解列表

筛选

python50%错误

摘要:解题思路:不知道错在哪里注意事项:参考代码:a = input().split()b = []for i in a:    if 65 <= ord(i) <= 90 or 97 <= ord(i) ……

编写题解 2004: 统计成绩

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){    int a[10];    for(int i=0;i<10;i……

C++求1+2!+3!+...+N!的和

摘要:两次解决第一次是int类型,导致越界 改成long long 即可 ```cpp #include using namespace std; typedef long long ll;……

偶数求和(c语言代码)

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

编写题解 1116: IP判断

摘要:解题思路:把.作为分隔,分别判断字符串是不是属于0-255注意事项:参考代码:while True:    try:        n = input()        ls=[]        if……