蓝桥杯2018年第九届真题-日志统计-题解(C++代码) 摘要:```cpp #include using namespace std; #define x first #define y second const int N=100010; type…… 题解列表 2020年12月21日 0 点赞 0 评论 832 浏览 评分:9.9
[编程入门]猴子吃桃的问题-题解(Java代码) 摘要:解题思路:因为题目已确定了最后一天的剩余桃子数固定为1,所以可从最后一天为始,倒推至第一天的所剩桃子数。例如:最后一天的桃子数为1,倒数第二天的桃子数就为(1+1)*2个,也就是4个。倒数第三天的桃子…… 题解列表 2020年12月21日 0 点赞 0 评论 962 浏览 评分:9.9
[编程入门]自定义函数之字符串反转-题解(C语言代码) 摘要:解题思路:在指针层面注意事项:参考代码:#include #include #include void gsort(int* a, int b); void ba(char* sp); in…… 题解列表 2020年12月21日 0 点赞 2 评论 981 浏览 评分:9.9
C语言训练-阿姆斯特朗数-题解(Python代码) 摘要:```python for i in range(2,1000): b = 0 s = i sum = 0 #得到各位数存放在列表(此处要定义a这个空列表) …… 题解列表 2020年12月21日 0 点赞 0 评论 781 浏览 评分:9.9
蓝桥杯算法训练-图形显示-题解(C++代码)有空格~~ 摘要:```cpp #include using namespace std; int main() { int n; cin >> n; for (int i = 0; i < n…… 题解列表 2020年12月22日 0 点赞 0 评论 505 浏览 评分:9.9
蓝桥杯算法训练-大小写转换-题解(C++代码)库函数~ 摘要:```cpp #include using namespace std; int main() { string s; cin >> s; for (int i = 0, le…… 题解列表 2020年12月22日 0 点赞 0 评论 690 浏览 评分:9.9
蓝桥杯算法训练-寻找数组中最大值-题解(C++代码) 摘要:```cpp #include using namespace std; int main() { int n, t, maxn = 0, index = -1; cin >> n…… 题解列表 2020年12月22日 0 点赞 0 评论 812 浏览 评分:9.9
蓝桥杯算法提高-秘密行动-题解(C++代码) 摘要:```cpp #include using namespace std; int n, h[1010], t[1010], p[1010]; int main() { cin >…… 题解列表 2020年12月22日 0 点赞 0 评论 815 浏览 评分:9.9
蓝桥杯算法提高-矩阵转置-题解(C++代码) 摘要:```cpp #include using namespace std; int n, m; int matrix[25][25]; int main() { cin >> n…… 题解列表 2020年12月22日 0 点赞 0 评论 581 浏览 评分:9.9
蓝桥杯算法提高-成绩排名-题解(C++代码)STL大法好~ 摘要:```cpp #include #include #include using namespace std; typedef pair Pir; int n, f; strin…… 题解列表 2020年12月22日 0 点赞 0 评论 612 浏览 评分:9.9