1043: [编程入门]三个数字的排序 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,t; scanf("%d %d %d",&a,&b,&c); if…… 题解列表 2023年01月15日 0 点赞 0 评论 167 浏览 评分:0.0
2783: 判断是否为两位数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a; scanf("%d",&a); if(a/100==0&&a/10>0) …… 题解列表 2023年01月15日 0 点赞 0 评论 215 浏览 评分:0.0
编程小白能看懂的c++98 摘要:解题思路:注意事项:参考代码:#include #include using namespace std; int main() { int q = 0; cin >> q; char …… 题解列表 2023年01月15日 0 点赞 0 评论 118 浏览 评分:0.0
2778: 判断数正负 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int N; scanf("%d",&N); if(N>0) printf("posit…… 题解列表 2023年01月15日 0 点赞 0 评论 253 浏览 评分:9.9
2780 奇偶判断 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a; scanf("%d", &a); if(a%2==0) printf("e…… 题解列表 2023年01月15日 0 点赞 0 评论 158 浏览 评分:0.0
简单三角形面积c++题解(海伦公式) 摘要:解题思路:我们可以利用海伦公式#a,b,c 是三角形的边长#S 是面积我们可以利用勾股定理,求出边长。注意事项: 我们无法知道那个边是底和高,所以要用海伦公式参考代码:#include <iostre…… 题解列表 2023年01月15日 0 点赞 2 评论 720 浏览 评分:5.0
自定义函数处理最大公约数与最小公倍数 【10行代码 简单易懂】(有解释) 摘要:整体代码答案: ```python a,b=map(int,input().strip().split()) def gcd(a,b): if(b!=0): retu…… 题解列表 2023年01月15日 0 点赞 0 评论 243 浏览 评分:8.0
水仙花数字while循环(C语言) 摘要:解题思路:注意事项:参考代码:#include "stdio.h"#include "math.h"int main(){ int i=2; while (i < 1000) { if ((p…… 题解列表 2023年01月15日 0 点赞 0 评论 238 浏览 评分:9.9
不能四舍五入,所以要用点小技巧 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n,t; double m; cin >> n >>…… 题解列表 2023年01月14日 0 点赞 0 评论 206 浏览 评分:0.0
注意空格,好事多磨吧 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ cout << " " << "Nine-by-nine Multi…… 题解列表 2023年01月14日 0 点赞 0 评论 199 浏览 评分:0.0