摘要: mac下python3.8+anaconda安装tensorflow 1、终端运行 #创建一个名为 tensorflow 的 conda 环境 具体根据自身情况替换末尾的python版本conda create -n tensorflow python=3.8 #激活 conda 环境 source 阅读全文
posted @ 2020-10-24 13:33 AdvanceQxj 阅读(976) 评论(0) 推荐(0)
摘要: #include<stdio.h>void straight_insert_sort(int *a, int n){ int i,j; for(i = 1; i < n; i++) { if(a[i] < a[i-1]) { int temp = a[i]; for(j = i - 1; j >= 阅读全文
posted @ 2020-05-04 15:07 AdvanceQxj 阅读(133) 评论(0) 推荐(0)
摘要: #include <stdio.h>void select_sort(int *a,int n){ int i,j,temp; for(i = 0; i < n-1; i++) { for(j = i + 1; j < n; j++) { if(a[i]>a[j]) { temp = a[i]; a 阅读全文
posted @ 2020-05-04 14:57 AdvanceQxj 阅读(145) 评论(0) 推荐(0)
摘要: #include "stdio.h"#include "stdbool.h"void swap(int *t1, int *t2){ int temp; temp = *t1; *t1 = *t2; *t2 = temp;}void bubble_sort(int arr[], int len){ 阅读全文
posted @ 2020-05-04 14:41 AdvanceQxj 阅读(127) 评论(0) 推荐(0)
摘要: 最大数#include <stdio.h>#define MAX 10int main() { int n, a[MAX]; printf("Input the number of figure(<10):\n"); scanf("%d",&n); for (int i = 0; i < n; i+ 阅读全文
posted @ 2020-05-04 13:54 AdvanceQxj 阅读(276) 评论(0) 推荐(0)
摘要: 累加#include <stdio.h>#define MAX 10int main() { int n; int a[MAX]; int sum = 0; printf("Input the number of figure(<=10):\n"); scanf("%d",&n); for(int 阅读全文
posted @ 2020-05-04 13:52 AdvanceQxj 阅读(473) 评论(0) 推荐(0)
摘要: 1、开机之后一直按着 command + R 进入MacOS X实用工具页面。 2、在实用工具中打开终端,输入 ntpdate time.apple.com 将时区转换为美国时区。 3、退出终端,进入磁盘工具,格式化硬盘,选项选择 MacOS 拓展(日志式)和 GUID 分区表。 4、退出磁盘工具, 阅读全文
posted @ 2020-01-09 21:49 AdvanceQxj 阅读(1233) 评论(0) 推荐(0)