c++小白,暴力ac 摘要:解题思路:注意事项:参考代码://#include<iostream>//using namespace std;//int a[1000], b[1000], c[1000];//int main(…… 题解列表 2024年12月03日 0 点赞 0 评论 506 浏览 评分:0.0
不懂可评论 摘要:解题思路:注意事项:参考代码:class Time: def __init__(self): self.__h=0 #__表示私有,防止外部访问和修改 …… 题解列表 2024年12月03日 0 点赞 0 评论 646 浏览 评分:9.9
喔喔喔喔喔喔喔喔喔 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ double f1=1,f2=2,sum=0,n,f3,temp; scanf("%lf",&n); sum+=…… 题解列表 2024年12月03日 1 点赞 0 评论 1083 浏览 评分:0.0
简易,易懂 摘要:解题思路:注意事项:参考代码:int main (){ int n; float sum=0; scanf ("%d",&n); float a[n]; for (int…… 题解列表 2024年12月03日 3 点赞 0 评论 1003 浏览 评分:0.0
2925 ******自己复习用********** 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>#include <stdbool.h>int main() { int n = 0; …… 题解列表 2024年12月03日 0 点赞 0 评论 629 浏览 评分:9.9
C语言训练-水仙花数 摘要:解题思路:将所有三位数遍历,分别判断是否为水仙花数,是则输出。注意事项:参考代码:#include<stdio.h>#include<math.h>int main(void){ int m; …… 题解列表 2024年12月03日 0 点赞 0 评论 835 浏览 评分:0.0
布尔类型变量 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include <stdbool.h>int main (){ bool b; char c; printf ("%…… 题解列表 2024年12月03日 0 点赞 0 评论 1060 浏览 评分:0.0
简单,易懂 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int x,y,sum; scanf ("%d %d",&x,&y); sum=x+y; …… 题解列表 2024年12月03日 7 点赞 0 评论 1685 浏览 评分:0.0
七行代码解决问题 摘要:解题思路:用字符串解决问题注意事项:无参考代码:a=input()print(len(a))for i in range(len(a)): print(a[i],end=" ")print()fo…… 题解列表 2024年12月03日 0 点赞 0 评论 1539 浏览 评分:4.8
简易,易懂 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main (){ float a; scanf ("%f",&a); if (a>=0) { …… 题解列表 2024年12月03日 3 点赞 0 评论 1139 浏览 评分:10.0