还是大家喜欢的for循环 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main() { int n, i, sum,j; scanf…… 题解列表 2025年01月12日 0 点赞 0 评论 310 浏览 评分:0.0
会调用函数就可以 摘要:解题思路:注意事项:注意比较输入两个数的大小参考代码:#include <stdio.h>int c(int n) { int length = 1; // 初始…… 题解列表 2025年01月12日 1 点赞 0 评论 357 浏览 评分:0.0
模拟报数过程的直接解法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>#include<string.h>int main(){&nb…… 题解列表 2025年01月12日 1 点赞 0 评论 478 浏览 评分:0.0
盐水的故事 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){int vul,d,t=0;&…… 题解列表 2025年01月12日 1 点赞 0 评论 286 浏览 评分:0.0
内码对称求解 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){long long int n; …… 题解列表 2025年01月12日 0 点赞 0 评论 253 浏览 评分:0.0
编写题解 2831: 画矩形 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;typedef long long ll;const int N=2e5…… 题解列表 2025年01月13日 0 点赞 0 评论 202 浏览 评分:0.0
编写题解 1234: 检查一个数是否为质数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ long long int n,i,sum=0,t=1; &n…… 题解列表 2025年01月13日 1 点赞 0 评论 308 浏览 评分:0.0
题解 1234: 检查一个数是否为质数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;int main(){&nb…… 题解列表 2025年01月13日 0 点赞 0 评论 275 浏览 评分:0.0
简单借位问题 摘要:解题思路:先将字符串s1,s2逆序存储进对应数组a1,a2中,解题思路:先将字符串s1,s2逆序存储进对应数组a1,a2中,如果a1[i]>s1>>s2; for…… 题解列表 2025年01月13日 0 点赞 0 评论 509 浏览 评分:0.0
c++++++++++++++++++++++++ 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>using namespace std;struct node { ch…… 题解列表 2025年01月13日 0 点赞 0 评论 263 浏览 评分:0.0