任意输入1到a(未知数)的数,判断其数字是否为完数。 摘要:#include<stdio.h>int main(){int a,b,c,d;scanf("%d",&a);for(b=1;b<=a;b++){ c=0; for(d=1;d<=b…… 文章列表 2023年04月22日 1 点赞 0 评论 127 浏览 评分:9.9
我写什么呢 摘要:。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。…… 文章列表 2023年04月22日 0 点赞 1 评论 155 浏览 评分:9.9
JIOOOOOOO 22222 6666 摘要:#include <iostream>using namespace std;int main(){ int a,b,c; cin >>a>>b>>c; if(a<=b && b<=…… 文章列表 2023年04月22日 0 点赞 1 评论 101 浏览 评分:9.9
6666666666666666666666666666666 摘要:原题链接:三进制小数解题思路:三进制转换与二进制类似,三进制小数的转换是乘以3,取整,然后顺序输出即可。注意的是最后一位要四舍五入哦。原来方法考虑不周,没有考虑特殊情况,直接输出了,测试数据不够强大,…… 文章列表 2023年04月22日 0 点赞 1 评论 77 浏览 评分:9.9
题目 1031: [编程入门]自定义函数之字符串反转 摘要:#include#includeint main(){ char a[520]; gets(a); int cd=strlen(a);//strlen函数测量字符串长度;不算‘\0’…… 文章列表 2023年04月24日 0 点赞 2 评论 110 浏览 评分:9.9
c++入门讲解(复杂) 摘要:# c++入门讲解 ### 1、C++编译流程 以Unix系统编译中间文件为说明: .cpp—(编译预处理)—>.ii—(编译)—>.s—(汇编)—>.o—(ld,连接)—>.out ### …… 文章列表 2023年05月06日 0 点赞 0 评论 184 浏览 评分:9.9
题目 1050: [编程入门]结构体之成绩记录 摘要:#includestruct student{ char xuehao[20]; char name[20]; int cj[3]; }; void input(struct…… 文章列表 2023年05月06日 0 点赞 0 评论 128 浏览 评分:9.9
贪吃蛇C++代码 摘要:### **贪吃蛇C++代码** 今天来给大家上两个贪吃蛇C++代码 第一种: ```cpp #include #include #include #include using nam…… 文章列表 2023年05月09日 0 点赞 0 评论 373 浏览 评分:9.9
让你电脑的CPU冒烟 摘要:如何让你家电脑的cpu冒烟呢?请往下看。#include<iostream>#include<windows.h>#include<stdio.h>#include<fstream>using nam…… 文章列表 2023年05月13日 0 点赞 2 评论 197 浏览 评分:9.9
1006(凌云训练)。 摘要:#include<bits/stdc++.h>using namespace std;int a[100],max;int main(){ for(int i=0;i<3;i++){ …… 文章列表 2023年05月14日 0 点赞 0 评论 126 浏览 评分:9.9