
c语言 算法
YangHongChao001
机器学习,深度学习,算法工程师
展开
-
C语言 之 n皇后问题
/* author: yanghongchaotime: 2018/4/17*/#include <stdio.h>#define MAX_NUMBER 100int main(){ int number_of_queen(int a[], int n, int k, int j, int count); int n; int m; scanf("%d", &...原创 2018-04-17 15:52:43 · 1263 阅读 · 0 评论 -
c 语言学习 之对于动态内存分配的结构体的基于交换的排序
/*author : YangHongchaoday: 2018/4/23*/#include <stdio.h>#include <string.h>#include <stdlib.h>struct student{ char name[12]; int age; int score[3]; double average;};type...原创 2018-04-23 11:47:02 · 305 阅读 · 0 评论 -
基于动态内存分配的素数查找
/*author : YangHongchaotime: 2018/4/26*///#define __STDC_WANT_LIB_EXT1__ 1#include <stdio.h>#include <stdlib.h>#include <stdbool.h>#include <math.h>int main(){ unsigned long...原创 2018-04-26 17:07:13 · 258 阅读 · 0 评论