题解列表

筛选

2861: 验证子串(python)

摘要:解题思路:注意事项:参考代码:a = input().strip() # 注意把前导空格去掉 b = input().strip() if a in b:     print("%s is s……

题解 3007: 收费

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

3128: 连接格点(grid)

摘要:```cpp #include using namespace std; const int N=1e6+10; int n,m,p[N]; int findth(int x) { ……

2799: 奥运奖牌计数

摘要:```cpp #include #include using namespace std; int main() { int fmax,maxs=0,a[10001],b[1000……

2868: 最长最短单词

摘要:```cpp #include #include using namespace std; char a[40000]; int b[300],c[300],d[300]; int mai……