题解 2794: 求平均年龄 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int sum,m; sum=0; ci…… 题解列表 2024年01月09日 0 点赞 2 评论 205 浏览 评分:9.9
题解 2794: 求平均年龄(c++) 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n; cin>>n; int s…… 题解列表 2024年01月09日 0 点赞 0 评论 234 浏览 评分:0.0
题解 2794: 求平均年龄 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int m,sum; sum=0; ci…… 题解列表 2024年01月09日 0 点赞 0 评论 264 浏览 评分:9.9
c++最简单实现方法 摘要:解题思路:假设有1534个桃子,根据逻辑如下:767-1=766383-1=382191-1=19095-1=9447-1=4623-1=2211-1=105-1=42-1=1注意事项:参考代码:#i…… 题解列表 2024年01月08日 0 点赞 0 评论 146 浏览 评分:9.9
病毒virus(拓扑排序) 摘要:解题思路:单词依字典序排列, 因此可以判断单词中字符是否存在拓扑序, 如果存在, 则遍历病毒字符串中的字符, 如果每一个字符都存在映射的索引, 则依照索引0 为‘a’ 依次输出, 否则输出0;注意事项…… 题解列表 2024年01月08日 1 点赞 0 评论 293 浏览 评分:6.0
28行代码解决 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main() { int n; cin >> n; int a[1…… 题解列表 2024年01月08日 0 点赞 0 评论 435 浏览 评分:9.9
2777: 计算2的幂 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int i,n,sum; sum=1; …… 题解列表 2024年01月08日 0 点赞 0 评论 208 浏览 评分:9.9
1151: C语言训练-计算一个整数N的阶乘 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int i,n,sum; sum=1; …… 题解列表 2024年01月08日 0 点赞 0 评论 215 浏览 评分:9.9
1151:C语言训练-计算一个整数N的阶乘 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n; cin>>n; int s…… 题解列表 2024年01月08日 0 点赞 0 评论 191 浏览 评分:9.9
1151: C语言训练-计算一个整数N的阶乘1151: C语言训练-计算一个整数N的阶乘1151: C语言训练-计算一个整数N的阶乘1151: C语言训练-计算一个整数N的阶乘1151: C语言训练- 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int i,N,s=1; cin>>N; for(…… 题解列表 2024年01月08日 0 点赞 0 评论 240 浏览 评分:9.9