编写题解 2802: 满足条件的数累加题解 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){int m,n,sum=0;cin>>m>>n;for(int…… 题解列表 2024年05月07日 0 点赞 0 评论 304 浏览 评分:0.0
蛮简单的思路,运行是100分 摘要:解题思路:看一遍就懂了注意事项:参考代码:#include<stdio.h>int zhuanzhi(int a[3][3]){ for(int j=0;j<3;j++) { for(int i=0…… 题解列表 2024年05月07日 0 点赞 0 评论 120 浏览 评分:0.0
编程入门]自定义函数之字符类型统计 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void Statistic(char* str,int n){ int i; int character = 0; int numbe…… 题解列表 2024年05月07日 0 点赞 0 评论 163 浏览 评分:0.0
1042: [编程入门]电报加密 摘要:解题思路:灵活运用ctype函数注意事项:注意大小写参考代码:#define _CRT_SECURE_NO_WARNINGS#pragma warning(disable:6031)#include …… 题解列表 2024年05月08日 0 点赞 0 评论 182 浏览 评分:0.0
c++ 2071: [STL训练]壮志难酬 没用到字符串 摘要:```cpp #include using namespace std; int main() { vector v1; int t; cin>>t; …… 题解列表 2024年05月08日 0 点赞 0 评论 185 浏览 评分:0.0
占用内存较少,两个for循环搞定 摘要:解题思路:无注意事项:无参考代码:#include <stdio.h>//素数定义:只能被常数1或自己整除,不能被其他整数整除的正整数int main(){ int int_data = 0; …… 题解列表 2024年05月09日 0 点赞 0 评论 162 浏览 评分:0.0
编写题解 1072: 汽水瓶(可以用递归 解决) 摘要:解题思路:简单递归注意事项:参考代码:#include<iostream>using namespace std;int get_num(int n){ int sum =0; if(n…… 题解列表 2024年05月09日 0 点赞 0 评论 112 浏览 评分:0.0
编写题解 1031: [编程入门]自定义函数之字符串反转 摘要:import java.util.Scanner;public class Main { public static void main(String[] args) { Scan…… 题解列表 2024年05月09日 0 点赞 0 评论 200 浏览 评分:0.0
自定义函数处理最大公约数与最小公倍数 摘要:解题思路:题目要求要建函数,所以得知道怎么去建立函数,再考虑如何去求解,对于小白来说,解题的思路就是建立函数——建立主函数——调用函数注意事项:参考代码:#include<stdio.h>int gb…… 题解列表 2024年05月10日 0 点赞 0 评论 256 浏览 评分:0.0
Python 模拟解决[100分] 摘要:解题思路:模拟法注意事项:参考代码: n = int(input()) nums = list(map(int,input().split())) res = 0 def add_(n…… 题解列表 2024年05月10日 0 点赞 0 评论 309 浏览 评分:0.0