1412: 矩阵的幂 摘要:```cpp #include #include using namespace std; typedef long long LL; class M { public: …… 题解列表 2023年02月25日 0 点赞 0 评论 488 浏览 评分:9.9
编写题解 1015: [编程入门]求和训练 摘要:解题思路:注意事项:float 类型在做除法时数据类型都要是float参考代码:#include<stdio.h>#include<math.h>int i;int Sum(int a){ …… 题解列表 2023年02月25日 0 点赞 0 评论 323 浏览 评分:0.0
字符串去除空格并反转 摘要:def f(): s = input() s =s.replace(" ","") #去除空格 print(s[::-1]) #反转f()…… 题解列表 2023年02月24日 0 点赞 0 评论 415 浏览 评分:0.0
1051: [编程入门]结构体之成绩统计2 摘要:#题目没有说清保留几位小数或者只输出整数,经过我的测试,输出的成绩只要整数即可 ```cpp #include using namespace std; struct Student …… 题解列表 2023年02月24日 0 点赞 1 评论 531 浏览 评分:9.9
题目 1030: [编程入门]二维数组的转置 摘要:解题思路:输入:声明一个3*3的数组a[3][3],用两个for循环嵌套输入。输出:只需构造一个方法,在方法将数组的i(行)与j(列)对调输出就行了。但我看了许多大佬发的方法,虽然也是用函数实现的,但…… 题解列表 2023年02月24日 0 点赞 0 评论 373 浏览 评分:0.0
1003一行解(Python) 摘要:解题思路:注意事项:参考代码:print(''.join(list(map(lambda x : chr(ord(x) + 4), input()))))基础代码(完全问题题目要求)c…… 题解列表 2023年02月24日 0 点赞 0 评论 549 浏览 评分:0.0
简单易懂!!! 摘要:解题思路:注意事项:参考代码:#include<stdio.h>//判断是否为闰年 int leap(int n) { if((n%4==0&&n%100!=0)||n%4…… 题解列表 2023年02月24日 0 点赞 0 评论 469 浏览 评分:0.0
1292: 判断奇偶 摘要:```cpp #include using namespace std; int main() { string s; int n; cin>>n; w…… 题解列表 2023年02月24日 0 点赞 0 评论 439 浏览 评分:9.9
2140: 信息学奥赛一本通T1295-装箱问题 摘要:```cpp #include #include using namespace std; int a[30]; int find(int x,int c) { if(c=0) …… 题解列表 2023年02月24日 0 点赞 0 评论 467 浏览 评分:9.9
1660: 蓝桥杯算法训练VIP-装箱问题 摘要:```cpp #include #include using namespace std; int a[30]; int find(int x,int c) { if(c=0) …… 题解列表 2023年02月24日 0 点赞 0 评论 399 浏览 评分:9.9