题解 2764: 带余除法 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; cin>>a>>b; cout<<a/b…… 题解列表 2023年12月02日 0 点赞 0 评论 368 浏览 评分:9.9
最简答案 一个一维数组就搞定 摘要:解题思路:x/n+1 可以算出在哪一行x%n+1可以算出在哪一列注意事项:简单无脑,把最后输的行列搞明白就行参考代码:#include<stdio.h>int main(){ int arr[200]…… 题解列表 2023年12月02日 0 点赞 0 评论 150 浏览 评分:0.0
编写题解 1052: [编程入门]链表合并 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<malloc.h>typedef struct Student{ int a,b; struct Student*n…… 题解列表 2023年12月02日 0 点赞 0 评论 273 浏览 评分:0.0
求圆的面积+公式 摘要:解题思路:圆面积=π*r*r注意事项:r=圆的半径参考代码:#include<iostream>using namespace std;#include <iomanip>int main(){ …… 题解列表 2023年12月02日 0 点赞 0 评论 513 浏览 评分:0.0
答案之中的答案 摘要:解题思路:wu注意事项:wu参考代码:#include<iostream>using namespace std;int main(){ int a,b,c; cin>>a>>b>>c; …… 题解列表 2023年12月02日 0 点赞 0 评论 303 浏览 评分:6.0
题解 2768: 与圆相关的计算 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ double r; scanf("%lf",&r); pr…… 题解列表 2023年12月02日 0 点赞 0 评论 442 浏览 评分:9.9
编写题解 1267: A+B Problem 摘要:解题思路:设定一个整数“a”和“b”参考代码:#includeusing namespace std;int main(){ int a; int b; cin>>a>>b; …… 题解列表 2023年12月02日 0 点赞 0 评论 352 浏览 评分:9.9
编写题解 1038: [编程入门]宏定义练习之三角形面积 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double a,b,c; cin>>a>>b…… 题解列表 2023年12月02日 0 点赞 0 评论 265 浏览 评分:9.9
题解 1038: [编程入门]宏定义练习之三角形面积 摘要:解题思路:注意事项:1.根据题目给的公式,输入a,b,c分别为三角形的三条边,S为(a+b+c)/2(这个就是著名的海伦公式),置到这两个东西之后就可以直接求解area了,由于题目要求使用宏定义来写,…… 题解列表 2023年12月02日 0 点赞 0 评论 249 浏览 评分:7.3
题解 2775: 等差数列末项计算 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b,n,m; cin>>a>>b>>n; …… 题解列表 2023年12月02日 0 点赞 0 评论 198 浏览 评分:9.9