题解列表

筛选

1211: 平方和与立方和

摘要:解题思路:注意事项:参考代码:while True:     try:         A,B=map(int,input().split())         pin,li=0,0     ……

expose 字符串的查找删除

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>Print(char string[]){ int len=strlen(string); for(……

二级C语言-最小绝对值

摘要:解题思路:注意事项:参考代码:a=list(map(int,input().split()))b=[abs(i) for i in a]index=b.index(min(b))a[index],a[……

java简短算法

摘要:解题思路:注意事项:参考代码:public class Main {    public static void main(String[] args) {        Scanner sc = n……

1094:字符串的输入输出处理(C代码)

摘要:解题思路:前N行字符串的处理:我们已知行数,就可以直接定义一个字符串数组来保存输入字符串,因为scanf函数遇到空格就会结束输入,而gets函数会把空格读进来,遇到回车符才会结束,所以采用gets函数……