药房管理(清晰明了) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int m,i,n,a,sum=0,N=0; scanf("%d",&m); scanf("%…… 题解列表 2024年12月10日 0 点赞 0 评论 184 浏览 评分:0.0
2879: 错误探测 摘要:解题思路:注意事项:参考代码: #include<stdio.h> int main() { int i, j, n; //n为数组的阶数,i为行,j为列; int row…… 题解列表 2024年12月10日 1 点赞 0 评论 261 浏览 评分:0.0
太Tm强了吧啊深V合格好大个很大干哈 摘要:解题思路:这段代码是一个简单的C++程序,用于从标准输入读取三个整数,并按照指定格式输出。下面是对代码的逐行分析:#include<iostream> 和 #include <iomanip>: 这…… 题解列表 2024年12月09日 0 点赞 0 评论 499 浏览 评分:0.0
C语言之自由下落的距离计算建模是精髓 摘要:#include <stdio.h> #include <stdlib.h> #include <string.h> int main() { int m,n; float…… 题解列表 2024年12月09日 2 点赞 0 评论 697 浏览 评分:10.0
哥德巴赫曾猜测 单循环 搞定 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; bool f(int x){ // 如果x小于等于1,则不是素数(…… 题解列表 2024年12月09日 0 点赞 0 评论 254 浏览 评分:0.0
最简单易懂的解法 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int n,m[200]; float t[200]; char c[100][100]; …… 题解列表 2024年12月09日 0 点赞 0 评论 208 浏览 评分:0.0
C语言 指针解决问题 练手 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main ( ){ int n=0 ,x=0 ,record=1 ; int a[10500]={0} ; …… 题解列表 2024年12月09日 0 点赞 0 评论 192 浏览 评分:0.0
矩阵最大值 简单做法希望能帮到你 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; int main(){ // 定义变量m和n,用于存储矩阵的行数和…… 题解列表 2024年12月09日 0 点赞 0 评论 175 浏览 评分:0.0
哥德巴赫曾猜测 摘要:解题思路:isprime 函数用于判断一个整数是否为素数。 首先处理一些特殊情况,如果 n 小于等于 1 则不是素数,如果小于等于 3 则是素数,如果能被 2 或 3 整除也不是素数。 然后通过…… 题解列表 2024年12月09日 0 点赞 0 评论 309 浏览 评分:0.0
计算一个整数N的阶乘C++版 摘要:```cpp #include /* 这里也可以用万能头,看看自己的喜爱: #include #include //这里Windows.h不能使用,不然会错 */ using name…… 题解列表 2024年12月09日 1 点赞 0 评论 366 浏览 评分:6.0