题解列表

筛选

2778: 判断数正负

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

编程小白能看懂的c++98

摘要:解题思路:注意事项:参考代码:#include #include using namespace std; int main() { int q = 0; cin >> q; char ……

2783: 判断是否为两位数

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

1094基础解法(Python)

摘要:解题思路:注意split()的用法即可注意事项:空一行是print(),空两行是print(&#39;\n&#39;)参考代码:n = int(input())lst = []while True :……

1130一行解(Python)

摘要:解题思路:用内置函数解决问题,站在巨人的肩膀上不用再造轮子了注意事项:filter()用于筛选符合条件的对象元素,在Python中若为判断条件为True,则添加入filter类型中,用list类型打印……

2003基础解法(Python)

摘要:解题思路:内置函数即可注意事项:题目介绍具有误导性,输入十个字符是指读取前十个字符,而非原输入只有十个字符,isnumeric()改成isalnum(),不然其实存在错误的情形参考代码:string ……

与圆相关的计算

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define PI 3.14159int main(){     double r,l,c,s;     scanf("%lf",&r……