2777: 计算2的幂(超级简单) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n; cin>>n; long long…… 题解列表 2024年01月08日 0 点赞 0 评论 115 浏览 评分:0.0
1151: C语言训练-计算一个整数N的阶乘 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int i,n,sum; sum=1; …… 题解列表 2024年01月08日 0 点赞 0 评论 97 浏览 评分:0.0
3010: 奇偶数之和(超简单) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n; cin>>n; long long…… 题解列表 2024年01月08日 0 点赞 0 评论 100 浏览 评分:0.0
2794: 求平均年龄 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long n; double b=0…… 题解列表 2024年01月08日 0 点赞 0 评论 157 浏览 评分:0.0
排队打水问题贪心求解 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<algorithm> using namespace std; const int N = 510; in…… 题解列表 2024年01月08日 0 点赞 0 评论 182 浏览 评分:0.0
面向结果编程 摘要: #include using namespace std; typedef struct fff { int num; int…… 题解列表 2024年01月08日 0 点赞 0 评论 100 浏览 评分:0.0
111111111111111111111111111111111111 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n; cin>>n; for(in…… 题解列表 2024年01月08日 0 点赞 0 评论 139 浏览 评分:0.0
N以内累加求和 2544 摘要:解题思路:#include<bits/stdc++.h>using namespace std;int n;int main(){cin>>n;int s=(1+n)*n/2;cout<<s;}注意事…… 题解列表 2024年01月08日 0 点赞 0 评论 157 浏览 评分:0.0
1040: [编程入门]实数的打印 摘要:解题思路:注意事项:注意输出结束有空格参考代码:n = float(input())for i in range(1, 4): print(("{:6.2f}".format(n)) * i, …… 题解列表 2024年01月08日 0 点赞 0 评论 185 浏览 评分:0.0
1048: [编程入门]自定义函数之字符串拷贝 摘要:解题思路:注意事项:简单参考代码:n = int(input())s = input()m = int(input())print(s[m - 1:])…… 题解列表 2024年01月08日 0 点赞 0 评论 116 浏览 评分:0.0