题解列表

筛选

水仙花数题解

摘要:解题思路:注意事项:参考代码:for i in range(100,1000):    s=0    astr=str(i)    for j in astr:        x=int(j)    ……

成绩评定(C语言解)

摘要:解题思路:if-else语句的简单运用注意事项:无参考代码:#includeint main(){    int grade,result;        scanf("%d",&grade);   ……

暴破 1209: 密码截获

摘要:解题思路: 直接从最长子串遍历到最短子串,第一个回文子串必为最长回文。参考代码:import java.util.Scanner; /**  * @author fzy  * @create 2……

二级C语言-平均值计算

摘要:参考代码:#include<stdio.h>#define N 10                     int main(){     int  score[N],  i,  aver,  Hi……