题解列表

筛选

[编程入门]迭代法求平方根

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){         double n,N=1,a,i;     scanf("%lf",&a);     for(i……

简单关系法顺推

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>#include<math.h>#include<string.h>#include<ctype.h……

编写题解 1190: 剔除相关数

摘要:解题思路:注意事项:参考代码:def to(a):     ls=[i for i in str(a)]     ls.sort()     return ls  def isgu(ls): ……

三维偏序(CDQ分治的代码)

摘要:[TOC] ### 吐槽下这道题(瞎讲) 卡常。 如果你 TLE 了请加这么两个优化: 1.手动 Ofast ```cpp #pragma GCC optimize("Of……

1195: 去掉双斜杠注释

摘要:解题思路:注意事项:参考代码:while True:     try:         n=input()         if n[0]==&#39;/&#39; and n[1]==&#39……

编写题解 1204: 大小写转换

摘要:解题思路:注意事项:参考代码:while True:     try:         a=input()         for i in a: