题解列表

筛选

2857: 加密的病历单

摘要:```python s = input() news = str() for c in s: if c.isupper(): news += c.lower() else: ……

c语言代码解决问题

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char str[101], str1[1000]; gets(str); ……

c语言代码解决问题

摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct date{ int year; int month; int day;};int main(){ struct date ……

1128:两行代码

摘要:解题思路:注意事项:参考代码:for x in sorted([int(x) for x in input().split()]):     print(x, end=&#39; &#39;)……

1129:两行代码

摘要:解题思路:注意事项:参考代码:for x in sorted(map(int, input().split()), reverse=True):     print(x, end=&#39; &#3……

Big Bang(一般解法)

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>#include<stdlib.h>typedef struct Node{ char a[32];……

1072基础解法(Python)

摘要:解题思路:简单思路注意事项:了解divmod()函数的基础用法参考代码:import sysfor line in sys.stdin :    bot = int(line)    if bot =……

1118:TOM数超简单字符数组算法

摘要:解题思路:字符数组,记得-‘0’将字符转换成数字注意事项:参考代码:#include <iostream>#include <cstdio>#include <cstring>#include <al……

python水仙花数判断

摘要:解题思路:直接用到pow函数注意事项:注意符号参考代码:for i in range(100,999):    a=int(i%10)    b=int(i/10%10)    c=int(i/100……