判断数的正负 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int n; scanf("%d",&n); if(n>0) printf("posi…… 题解列表 2023年07月12日 0 点赞 0 评论 561 浏览 评分:0.0
编写题解 1034: [编程入门]自定义函数之数字分离 摘要:解题思路:注意事项:参考代码:#include <stdio.h>void fun (int n){ int i; int cnt[10]; for(i=0;i<4;i++){ cnt[3-i]=n…… 题解列表 2023年07月12日 0 点赞 0 评论 494 浏览 评分:0.0
报数问题代码 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int findLastPerson(int n) { int circle[n]; int count = 0; …… 题解列表 2023年07月13日 0 点赞 0 评论 646 浏览 评分:0.0
比较数的大小 摘要:解题思路:注意事项:数据的范围参考代码:#include <stdio.h>int main(){ unsigned a; int b; scanf("%u %d",&a,&b); …… 题解列表 2023年07月13日 0 点赞 0 评论 602 浏览 评分:0.0
1018: [编程入门]有规律的数列求和(python) n=int(input())sum=0.0a=1.0b=1.0k=0.0foriinrange(1,n+1):k=bb=a+ba=ksum=sum+(b)/(a)1print("%.2f"%sum)2print("%.{}f".format(2)%sum)3print(round(sum,2)) 题解列表 2023年07月13日 0 点赞 0 评论 695 浏览 评分:0.0
画矩形行行 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b,k; char c; c…… 题解列表 2023年07月13日 0 点赞 0 评论 469 浏览 评分:0.0
余数相同问题 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b,c; cin>>a>>b>>c…… 题解列表 2023年07月13日 0 点赞 0 评论 416 浏览 评分:0.0
感谢支持,谢谢你们的支持 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ cout<<"cock=0,hen=25,chicken=75"<…… 题解列表 2023年07月13日 0 点赞 0 评论 624 浏览 评分:0.0
百钱白鸡问题 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ cout <<"cock=0,hen=25,chicken=7…… 题解列表 2023年07月13日 0 点赞 0 评论 511 浏览 评分:0.0
2077: 忙碌的小L(并查集) 摘要:此题会出现以下两种情况第一种: 如样例5 2 4 3 0 4 5 0 0 0 1 0这种情况只用教一个人(教1||2||5)就可以使是所有人都学会第二种情况5 3 0 4 0 5 0 …… 题解列表 2023年07月13日 0 点赞 0 评论 733 浏览 评分:0.0