java--study||O.o 摘要:参考代码:import java.util.Scanner; public class Main { public static void main(String[] args) …… 题解列表 2024年03月13日 0 点赞 0 评论 429 浏览 评分:9.9
python 2804: 与指定数字相同的数的个数 摘要:参考代码:n, m = map(int, input().split()) arr = list(map(int, input().split())) print(arr.count(m))…… 题解列表 2024年03月13日 0 点赞 0 评论 486 浏览 评分:0.0
【C语言题解/选择排序】1023: [编程入门]选择排序 摘要:``` #include int a[15]={0}; //交换函数 void swap (int*, int*); int main(){ int i,j,t,min; …… 题解列表 2024年03月13日 0 点赞 0 评论 377 浏览 评分:0.0
弧匹配检验:C++ , map容器 摘要:#### 原题链接 [题目 3072: 括弧匹配检验](https://www.dotcpp.com/oj/problem3072.html?sid=15742665&lang=1#editor "…… 题解列表 2024年03月13日 0 点赞 0 评论 544 浏览 评分:9.9
表达式括号匹配:c++ 摘要:#### 原题链接 [题目 3071: 表达式括号匹配(stack)](https://www.dotcpp.com/oj/problem3071.html?sid=15741963&lang=1#…… 题解列表 2024年03月13日 0 点赞 0 评论 948 浏览 评分:9.9
【C语言题解/冒泡排序】C语言训练-排序问题(1) 摘要:``` #include "stdio.h" int a[10]={0}; //交换函数 void swap(int*,int*); int main(){ int i,j,x; …… 题解列表 2024年03月13日 1 点赞 0 评论 533 浏览 评分:0.0
后缀表达式的值:c++ 摘要:#### 原题链接 [题目 3070: 信息学奥赛一本通T1331-后缀表达式的值](https://www.dotcpp.com/oj/problem3070.html "题目 3070: 信息学…… 题解列表 2024年03月13日 0 点赞 0 评论 565 浏览 评分:0.0
判断是否为两位数 摘要:解题思路:注意事项:参考代码:n=int(input())if 10<=n<=99: print(1)else: print(0)…… 题解列表 2024年03月13日 0 点赞 0 评论 497 浏览 评分:2.0
2166: 信息学奥赛一本通T1243-月度开销 摘要:解题思路:二分注意事项: 测试数据有误参考代码:#include<iostream> using namespace std; const int N = 1e5 + 10; int a[N],…… 题解列表 2024年03月13日 0 点赞 0 评论 968 浏览 评分:8.0
1030: [编程入门]二维数组的转置 摘要:解题思路:解题思路:声明两个数组a[3][3],b[3][3],后者存放转置后的元素。先用for循环嵌套输入a数组元素,接着(关键点)是转置:我们把二维数组看成矩阵,或者说坐标系,这样就很容易想到,行…… 题解列表 2024年03月13日 0 点赞 0 评论 439 浏览 评分:0.0