数组插入处理 题解(sort简单易懂) 摘要:解题思路:这题就跟排序差不多,用sort就欧了。注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;int a[55];int main(){…… 题解列表 2022年05月08日 0 点赞 0 评论 271 浏览 评分:0.0
数字逆序输出 题解(简单)(c++) 摘要:解题思路:就是倒过来输出而已。注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;int a[55];int main(){ for(int …… 题解列表 2022年05月08日 0 点赞 0 评论 291 浏览 评分:0.0
编写题解 2351: 信息学奥赛一本通T1439-传送带 摘要:#include<iostream> #include<cstdio> #include<cstdlib> #include<string> #include<cstring> #inclu…… 题解列表 2022年05月08日 0 点赞 0 评论 483 浏览 评分:0.0
编写题解 1046: [编程入门]自定义函数之数字后移 摘要:解题思路:注意事项:参考代码:def yidong(): a = eval(input()) b = list(map(int,input().split())) c = e…… 题解列表 2022年05月08日 0 点赞 0 评论 352 浏览 评分:0.0
编写题解 1012: [编程入门]字符串分类统计 摘要:解题思路:注意事项:参考代码:a = 0b = 0c = 0d = 0e = input()for i in e: if i.isalpha(): a+=1 elif i.i…… 题解列表 2022年05月08日 0 点赞 0 评论 339 浏览 评分:0.0
编写题解 1031: [编程入门]自定义函数之字符串反转(利用切片解决) 摘要:解题思路:注意事项:参考代码:def main(): a = input() print(a[::-1])main()…… 题解列表 2022年05月08日 0 点赞 0 评论 393 浏览 评分:0.0
while循环求解 摘要:解题思路:求每一位数的3次方的和注意事项:由于输入的数被/10了3次,所有最后在比对的时候用的是一开始赋值的b参考代码:#include "stdio.h"#include "math.h"int m…… 题解列表 2022年05月08日 0 点赞 0 评论 392 浏览 评分:0.0
[递归]母牛的故事 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std; int main () { int cow[56] = {0,1,2,3,…… 题解列表 2022年05月08日 0 点赞 0 评论 278 浏览 评分:0.0
1096: Minesweeper 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>#define MAX 100 // 地图最大尺寸 using namespace std; char position[M…… 题解列表 2022年05月08日 0 点赞 0 评论 345 浏览 评分:0.0
1098: 陶陶摘苹果 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std; const int apple = 10; // 苹果数量int main() {…… 题解列表 2022年05月08日 0 点赞 0 评论 283 浏览 评分:0.0