1070成绩归类(仅用最简单的输入规则) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int sum; int a=0,b=0,c=0; while(scanf("%d",&sum)) { if(…… 题解列表 2024年05月25日 0 点赞 0 评论 344 浏览 评分:0.0
1071阶乘公式求值(一个for循环解决) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); double m=1; double sum=0; for(int…… 题解列表 2024年05月25日 0 点赞 0 评论 340 浏览 评分:0.0
无聊的星期六 摘要:n=int(input()) for i in range(n): x=list(input().split()) print(','.join(str(i) f…… 题解列表 2024年05月25日 0 点赞 0 评论 377 浏览 评分:0.0
无聊的星期六 摘要:#试试python的类来完成,感觉还是C做起来简单 class Student: def __init__(self, id, name,grades): self.…… 题解列表 2024年05月25日 0 点赞 0 评论 264 浏览 评分:0.0
无聊的星期六 摘要:n=input() l1=l2=l3=l4=0 for i in range(len(n)): if n[i].isspace(): l1+=1 elif n…… 题解列表 2024年05月25日 0 点赞 0 评论 362 浏览 评分:0.0
无聊的星期六 摘要:n=input() for i in ['a','e','i','o','u']: print('&…… 题解列表 2024年05月25日 0 点赞 0 评论 239 浏览 评分:0.0
无聊的星期六 摘要:n=[[0]*3]*3 for i in range(3): n[i]=list(map(int,input().split())) for i in range(3): pr…… 题解列表 2024年05月25日 0 点赞 0 评论 327 浏览 评分:0.0
1072汽水瓶(递归算法实现) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int digui(int n,int* sum){ if(n<=1) return (*sum); else if(n==2) ret…… 题解列表 2024年05月26日 0 点赞 0 评论 131 浏览 评分:0.0
题解 2876: 矩阵交换行 摘要:#include <bits/stdc++.h>using namespace std;const int N = 1e1;typedef long long ll;ll a[N][N];int ma…… 题解列表 2024年05月26日 0 点赞 0 评论 150 浏览 评分:0.0
2876: 矩阵交换行 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const ll N=1e3;ll a[…… 题解列表 2024年05月26日 0 点赞 0 评论 229 浏览 评分:0.0