[编程入门]数字的处理与判断c++ 摘要:解题思路:判断五位数字在每个位置上是否存在注意事项:参考代码:/*题目描述给出一个不多于5位的整数,要求 1、求出它是几位数 2、分别输出每一位数字 3、按逆序输出各位数字,例如原数为321,应输出1…… 题解列表 2024年05月06日 2 点赞 0 评论 267 浏览 评分:0.0
二级C语言-成绩归类 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main() { int arr[10000],i,a=0,b=0,c=0; for(i=0;i<10000;i…… 题解列表 2024年05月06日 0 点赞 0 评论 181 浏览 评分:0.0
陈乐昕编的题解 摘要:解题思路:一个判断搞定!注意事项: 是同时整除3 和 5哦!参考代码:#include<iostream>using namespace std;int main(){ int n; ci…… 题解列表 2024年05月06日 0 点赞 0 评论 170 浏览 评分:0.0
封闭图形个数 摘要:解题思路:注意事项:参考代码:class number: def __init__(self, v, c): self.v = v self.c = c def __l…… 题解列表 2024年05月06日 0 点赞 0 评论 380 浏览 评分:0.0
回文数组-贪心 摘要:解题思路:注意事项:参考代码:n = int(input())a = list(map(int, input().split()))d = []for i in range(n // 2): d.…… 题解列表 2024年05月06日 1 点赞 0 评论 315 浏览 评分:0.0
可以利用函数控制输出小数的位数 摘要:解题思路:注意事项:需要包含头文件#include<iomanip>,setprecision需要和fixed一起用才是控制位数,单用只是控制有效位数参考代码: #include<iostream> …… 题解列表 2024年05月07日 0 点赞 0 评论 232 浏览 评分:0.0
题解 2936: 简单算术表达式求值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int yun(int x,int y,char z){ int d; if(z=='+') d=x+y; …… 题解列表 2024年05月07日 0 点赞 0 评论 250 浏览 评分:0.0
基础c语言代码 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char arr[100] = { 0 }; int a = 0…… 题解列表 2024年05月07日 0 点赞 0 评论 210 浏览 评分:0.0
2805: 乘方计算 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a,n; cin>>a>>n; int sum; i…… 题解列表 2024年05月07日 0 点赞 0 评论 132 浏览 评分:0.0
编写题解 1743: 大整数排序 摘要:解题思路:两个字符串,谁的长度长谁就大,若长度相等,从第一个字符开始比较,注意事项:参考代码:#include<stdio.h>#include<stdlib.h>#include<string.h>…… 题解列表 2024年05月07日 0 点赞 0 评论 174 浏览 评分:0.0