1099: 校门外的树 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int l,m,tree[1000000],s,e,sum=0,a=0;int main()…… 题解列表 2023年07月19日 0 点赞 0 评论 482 浏览 评分:8.0
石头剪刀布 #MarkDown编辑器基本使用说明**如果这是您第一次使用MarkDown编辑器,建议先阅读这篇文章了解一下Markdown的基本使用方法。**##实时预览、全屏显示**编辑器左边是输入框, 题解列表 2023年07月19日 0 点赞 0 评论 640 浏览 评分:9.9
石头剪刀布 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int a[10000000],b[10000000];int main(){ …… 题解列表 2023年07月19日 0 点赞 0 评论 396 浏览 评分:0.0
STL :蓝桥杯算法提高VIP-队列操作 摘要:# STL queue ```c++ #include #include using namespace std; auto main()->int { queue num…… 题解列表 2023年07月19日 0 点赞 0 评论 569 浏览 评分:0.0
3072: 括弧匹配检验 摘要:# 栈问题 > https://www.programmercarl.com/0020.%E6%9C%89%E6%95%88%E7%9A%84%E6%8B%AC%E5%8F%B7.html#%E8…… 题解列表 2023年07月19日 0 点赞 0 评论 702 浏览 评分:0.0
1024: [编程入门]矩阵对角线求和 摘要:解题思路:一眼看出结构注意事项:参考代码:#include<stdio.h>int main() { int a[9] = { 0,0,0,0,0,0,0,0,0 },i=0,c=0; scanf("…… 题解列表 2023年07月19日 0 点赞 0 评论 415 浏览 评分:0.0
1026: [编程入门]数字逆序输出 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main() { int a[10] = { 0,0,0,0,0,0,0,0,0,0 },i=9; scanf("%d%d%d%…… 题解列表 2023年07月19日 0 点赞 0 评论 515 浏览 评分:0.0
自定义函数之二维函数的转置 摘要:解题思路:交换一次,并交换两个值,因此可以引入一个变量t来交换两个值,比如t=a[j][i]; a[j][i]=a[i][j];a[i][j]=t;注意…… 题解列表 2023年07月19日 0 点赞 0 评论 476 浏览 评分:0.0
C语言解全排列 摘要:解题思路:注意事项:两种代码,第二种交换的代码由于最终打印顺序不同通过不了此题参考代码:#include <stdio.h>#include <string.h>#include <stdbool.h…… 题解列表 2023年07月19日 0 点赞 0 评论 1193 浏览 评分:9.9
1062: 二级C语言-公约公倍 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main() { int a[8] = { 0,0,0,1,0,0,0,0 }; scanf_s("%d%d", &a[0], …… 题解列表 2023年07月19日 0 点赞 0 评论 437 浏览 评分:0.0