题解列表

筛选

密码破译[使用Python]

摘要:str1 = input() strList = list(str1) count = 0 chrNum = 0 while count < len(strList):     chrNum……

史上最强数学题解(公倍数)

摘要:解题思路:公倍数之后的全部情况都可以通过两数之差来实现,因此只需要关注公倍数之前的情况即可。公倍数可以全部用两数相加实现,在此基础上减掉另外一个数后,两数之差便无法弥补缺口。注意事项:参考代码:#in……

编写题解 1206: 字符串问题

摘要:解题思路:注意事项:参考代码:#include<iostream>#include<string>using namespace std;int main(){    string str;    c……

个人理解,希望能提供个思路

摘要:解题思路:①输入的整数值表示,从 1970 年 1 月 1 日 00:00:00 到当前时刻经过的毫秒数。这个数一般比较大,用long long;②不显示出年月日,只需要显示出时分秒即可,需要毫秒数转……

编写题解 1210: 小明A+B

摘要:解题思路:注意事项:参考代码:#include<iostream>#include<string>using namespace std;int main(){    int a,b;        ……