题解列表
我居然自己写对了,太棒了
摘要:解题思路:注意事项:参考代码:n=input()if int(n[::-1])==int(n): print('YES')else: print('NO')……
编写题解 1087: A+B for Input-Output Practice (III)
摘要:解题思路:注意事项:参考代码:while True: sum = 0 a = list(map(int,input().split())) if a[0]==0 and a[1]==……
编写题解 1088: A+B for Input-Output Practice (IV)
摘要:解题思路:注意事项:参考代码:while True: sum = 0 lis = list(map(int,input().split())) if lis[0] == 0: ……
编写题解 1089: A+B for Input-Output Practice (V)
摘要:解题思路:注意事项:参考代码:n = int(input())for i in range(n): #规定输入的行数 sum = 0 a = list(map(int,input(……
信息学奥赛一本通T1597-滑动窗口-题解(C++双指针)
摘要:```cpp
#include
#include
using std::lower_bound;
inline bool f(const int*a,const int*b){return *……
好容易忘记我要好好整理一下这些题目这题回文素数
摘要:解题思路:注意事项:判断素数又好久没写了,差点忘了,折腾了很久参考代码:from math import sqrt##def isp(a,b):a,b=map(int,input().split())……
编写题解 1092: A+B for Input-Output Practice
摘要:解题思路:注意事项:参考代码:n = int(input())for i in range(n): sum = 0 a = list(map(int,input().split())) ……
编写题解 1112: C语言考试练习题_一元二次方程
摘要:解题思路:注意事项:参考代码:a,b,c = map(int,input().split())deta = (b**2 - 4*a*c)**(1/2)x1 = (-b + deta)/(2*a)x2 ……
亲密数就是在完数的基础上更进一步
摘要:for i in range(2,3001): s1=s2=1 for j in range(2,i//2+1): if i%j==0: s1+=j ……