题解列表

筛选

题解(带表格版)

摘要:![](/image_editor_upload/20210319054427_15446.png) import java.util.ArrayList; Scanner scanner……

Minesweeper c++代码

摘要:解题思路:将&#39;.&#39;转化为&#39;0&#39;,找到&#39;*&#39;后,周围加+。注意事项:check函数中,不需要检测有无越界,输出时限界输出。参考代码:#include <i……

字符串正反连接代码

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main()    {   char a[100];   int i,n;   scanf("%s",&a);   n=strl……

python解决Tom数

摘要:参考代码:def DigitCount(n):     result = 0     while n != 0:         result += n % 10       

python解决回文数字

摘要:解题思路:思路清晰简单参考代码:# 求数字各位数之和 def DigitCount(n):     result = 0     s = str(n)     lenth = len(s) ……