[STL训练]周瑜的反间计 摘要:解题思路:利用寻找数组注意事项:用find,防止没有找到数字一直输出no参考代码:#include <stdio.h>int main() { int j,find,a,n,arr[1000]; lo…… 题解列表 2023年07月02日 0 点赞 0 评论 289 浏览 评分:0.0
1036题: 带参数宏定义练习 摘要:# 代码难点 对于宏定义,自己有点印象,但是不会运用,直接参考了答案,希望之后的代码可以照猫画虎 # 参考代码 ```c #include #include #define chang…… 题解列表 2023年07月02日 0 点赞 0 评论 309 浏览 评分:0.0
正常血压c++ 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int n, x, y,sum=0,max=0; cin…… 题解列表 2023年07月03日 0 点赞 0 评论 563 浏览 评分:9.3
fgets解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main() { char str[100]; int i; fg…… 题解列表 2023年07月03日 0 点赞 0 评论 292 浏览 评分:9.9
药房管理c++ 摘要:解题思路:注意事项:参考代码:#includeusing namespace std;int main(){ int m, n, need; int sum = 0;//记录已经拿到药的人…… 题解列表 2023年07月03日 0 点赞 0 评论 539 浏览 评分:9.5
素数判断--开方小于num 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int isPrime(int num) { if (num <= 1) { return 0; } …… 题解列表 2023年07月03日 0 点赞 0 评论 294 浏览 评分:9.9
分离整数的各个数位 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int x,a; cin >> x; while(…… 题解列表 2023年07月03日 0 点赞 0 评论 585 浏览 评分:9.9
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,a[1000],m,i; while (scanf("%d", &n) == 1 && n != 0…… 题解列表 2023年07月03日 0 点赞 0 评论 551 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char str1[101], str2[101]; scanf…… 题解列表 2023年07月03日 0 点赞 0 评论 599 浏览 评分:0.0
求出e的值c++ 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;#include <iomanip>int main(){ int n; dou…… 题解列表 2023年07月03日 0 点赞 0 评论 478 浏览 评分:9.0