时间复杂度的O(n)算法 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;#define maxn 100010#define maxk 100010//0 …… 题解列表 2022年12月02日 0 点赞 0 评论 498 浏览 评分:9.9
C语言 统计字符& 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>#define LONG 100int main(){ char c[LONG]…… 题解列表 2022年12月02日 0 点赞 0 评论 638 浏览 评分:9.9
2752: 整型数据类型存储空间大小 摘要:方法一: ```cpp #include using namespace std; int main() { int a; short b; cout…… 题解列表 2022年12月03日 0 点赞 0 评论 1606 浏览 评分:9.9
2753: 浮点型数据类型存储空间大小 摘要:```cpp #include using namespace std; int main() { float a; double b; cout…… 题解列表 2022年12月03日 0 点赞 0 评论 968 浏览 评分:9.9
2754: 其他基本数据类型存储空间大小 摘要:```cpp #include using namespace std; int main() { bool a; char b; cout…… 题解列表 2022年12月03日 0 点赞 0 评论 1033 浏览 评分:9.9
2758: 打印ASCII码 摘要:思路:先输入字符,然后类型转换 ```cpp #include using namespace std; int main() { char ch=getchar(); …… 题解列表 2022年12月03日 0 点赞 0 评论 747 浏览 评分:9.9
2759: 打印字符 摘要:思路:输入变量后转换为字符 ```cpp #include using namespace std; int main() { int a; cin>>a; p…… 题解列表 2022年12月03日 0 点赞 0 评论 843 浏览 评分:9.9
二维数组的转置 摘要: #include int main(void) { int arr[3][3], i, j; for (i = 0; i < 3; i++) …… 题解列表 2022年12月03日 0 点赞 0 评论 472 浏览 评分:9.9
蓝桥杯2022年第十三届省赛真题-刷题统计(普通判断) 摘要:# 代码说明 **1018的长度在longlong范围内,在int类型的范围外** ```cpp #include using namespace std; typedef long…… 题解列表 2022年12月03日 0 点赞 0 评论 760 浏览 评分:9.9
题解:装箱问题【Python求解】 摘要:解题思路:递归参考代码:## 递归算法 V = int(input()) n = int(input()) v_lis = [] for i in range(n): v =…… 题解列表 2022年12月03日 0 点赞 0 评论 336 浏览 评分:9.9