二分-时间复杂度n*logn 摘要:解题思路:注意事项:参考代码:"""暴力做法:使用index查找元素 但是每次要进行排序 时间复杂度 n*n*logn正确做法:使用二分查找 在for之前排序一次 时间复杂度 n*logn二分思路:由…… 题解列表 2023年01月08日 0 点赞 0 评论 337 浏览 评分:0.0
麻瓜方法 教你如何求e(正常人思维=_=||) 摘要:解题思路: 根据题目一步一步写就可以了,下面请欣赏我的高质量答案=_=||注意事项: 像我这样写就要注意初始o值的变化参考代码:#include<stdio.h>int m…… 题解列表 2023年01月08日 0 点赞 0 评论 631 浏览 评分:9.0
1210: 小明A+B 摘要:```cpp #include using namespace std; int main() { int t,a,b; cin>>t; for(int i=1;…… 题解列表 2023年01月08日 0 点赞 0 评论 396 浏览 评分:9.9
1211: 平方和与立方和 摘要:```cpp #include using namespace std; int main() { int m,n,a,b; while(cin>>m>>n) {…… 题解列表 2023年01月08日 0 点赞 0 评论 426 浏览 评分:9.9
1212: 年会(c++代码) 摘要:```cpp #include #include #ifndef LOCAL #endif constexpr auto Inf=0X3F3F3F3F; typedef long long …… 题解列表 2023年01月08日 0 点赞 0 评论 528 浏览 评分:9.9
1213: 幸运儿 摘要:```cpp #include using namespace std; int n; bool flag[100]; bool f() { int num=0; fo…… 题解列表 2023年01月08日 1 点赞 0 评论 405 浏览 评分:10.0
编写题解 1388: GC的苦恼 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main() { int a; while (scanf("%d", &a) != EOF) { i…… 题解列表 2023年01月08日 0 点赞 0 评论 543 浏览 评分:9.9
[编程入门]自定义函数之数字后移(笨方法) 摘要:解题思路:从要移动处把数组看成两部分,再分别打印出来即可。注意事项:参考代码:#include <stdio.h>int main(){ int n,m,a[100],i,k=0,h=0,b[100]…… 题解列表 2023年01月08日 0 点赞 0 评论 369 浏览 评分:9.9
编写题解 1390: 大神老白 摘要:解题思路:注意事项:参考代码:#include <math.h> #include <stdio.h> #include <stdlib.h> int main() { int a, …… 题解列表 2023年01月08日 0 点赞 0 评论 336 浏览 评分:0.0
数据结构-字符串插入(C语言) 摘要:#include<stdio.h> #include<string.h> int main() { char str1[127], str2[127]; int n; scanf("…… 题解列表 2023年01月08日 0 点赞 0 评论 496 浏览 评分:0.0