题目 1017: [编程入门]完数的判断(错误代码,待更正,自我遗留问题) 摘要:1021 1017问题①数据只能读到415 ?????????问题②因子输出因为分别赋在两个数组内,输出顺序不符,需重新排序两个数组#include#include int main() { …… 文章列表 2022年07月29日 0 点赞 0 评论 214 浏览 评分:0.0
Minesweeper(新手扫雷) 摘要:题目: https://www.dotcpp.com/oj/problem1096.html思路:作图,暴力完事代码:#include<stdio.h>int main(){ int a,b,i,j,…… 文章列表 2022年07月30日 0 点赞 0 评论 270 浏览 评分:0.0
c语言每日知识点 摘要:科学计数法的表示:%e数据超限,用int类型存不下来,改用double类型/* 判断位数 */for(i=1;i>0;i++){num/=10;// printf("%d\n",num);if(num…… 文章列表 2022年08月06日 0 点赞 0 评论 190 浏览 评分:0.0
c语言每日知识点 摘要:#include<stdio.h>//二维数组的转置int main(){ int num[3][3] = {0}; int i = 0, j =0; int temp = 0; for(i=0;i…… 文章列表 2022年08月07日 0 点赞 0 评论 229 浏览 评分:0.0
基础链表1(待总结) 摘要:#include <stdio.h> #include <stdlib.h> struct Node //结构体 { int data; &n 文章列表 2022年08月08日 0 点赞 0 评论 280 浏览 评分:0.0
c语言每日知识点 摘要:两个带参宏如何在程序中使用:#include<stdio.h>//宏定义练习之三角形面积#include<math.h>#define S ((a+b+c)/2)#define area sqrt(S…… 文章列表 2022年08月08日 0 点赞 0 评论 271 浏览 评分:0.0
c语言每日知识点 摘要:#include<stdio.h>//自定义函数之整数处理int num[10] = {0};//定义一个全局变量int input_num(void){ int *str = &num[0]; in…… 文章列表 2022年08月11日 0 点赞 0 评论 192 浏览 评分:0.0
c语言每日知识点 摘要:#include<stdio.h>//自定义函数之整数处理int num[10] = {0};//定义一个全局变量int input_num(void){ int *str = &num[0]; in…… 文章列表 2022年08月14日 0 点赞 0 评论 225 浏览 评分:0.0
坚持写博客使我快乐!——用指针实现字符串链接 摘要:题目:https://www.dotcpp.com/oj/problem1747.html思路:用指针将第二个字符串填到第一个字符串中题解:#include<stdio.h>#include<stri…… 文章列表 2022年08月19日 0 点赞 0 评论 207 浏览 评分:0.0
K-进制数-Java 摘要:##### 题目描述: 考虑包含N位数字的K-进制数. 定义一个数有效, 即其K-进制表示不包含两连续的0. 例: 1010230 是有效的7位数 …… 文章列表 2022年09月07日 0 点赞 0 评论 272 浏览 评分:0.0