1048: [编程入门]自定义函数之字符串拷贝 摘要:解题思路:注意事项:简单参考代码:n = int(input())s = input()m = int(input())print(s[m - 1:])…… 题解列表 2024年01月08日 0 点赞 0 评论 193 浏览 评分:0.0
1040: [编程入门]实数的打印 摘要:解题思路:注意事项:注意输出结束有空格参考代码:n = float(input())for i in range(1, 4): print(("{:6.2f}".format(n)) * i, …… 题解列表 2024年01月08日 0 点赞 0 评论 346 浏览 评分:0.0
2777: 计算2的幂 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int i,n,sum; sum=1; …… 题解列表 2024年01月08日 0 点赞 0 评论 294 浏览 评分: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 评论 306 浏览 评分: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 评论 263 浏览 评分: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 评论 327 浏览 评分:9.9
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 评论 274 浏览 评分:0.0
2544: N以内累加求和 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n; cin>>n; int s…… 题解列表 2024年01月08日 1 点赞 0 评论 280 浏览 评分:10.0
题解 1764循环入门练习1 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int sum = 0; for(int i=…… 题解列表 2024年01月08日 0 点赞 0 评论 271 浏览 评分:9.9
2000: 偶数列举 摘要:解题思路:注意事项:循环变量是n参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n; cin>>n; …… 题解列表 2024年01月08日 0 点赞 0 评论 288 浏览 评分:9.9