摘要:
一、实验目的 二、实验准备 三、实验内容 四、实验结论 1. 实验任务4 源代码: 1 #include<stdio.h> 2 #include<string.h> 3 #define N 1000 4 5 int main(){ 6 FILE *fp; 7 8 fp = fopen("data4. 阅读全文
摘要:
一、实验目的 二、实验准备 三、实验内容 四、实验结论 1. 实验任务4 源代码: 1 #include<stdio.h> 2 #include<string.h> 3 #define N 1000 4 5 int main(){ 6 FILE *fp; 7 8 fp = fopen("data4. 阅读全文
摘要:
一、实验目的 二、实验准备 三、实验内容 四、实验结果 1.实验任务4 源代码: 1 #include <stdio.h> 2 #define N 10 3 4 typedef struct { 5 char isbn[20]; // isbn号 6 char name[80]; // 书名 7 c 阅读全文
摘要:
一、实验目的 二、实验准备 三、实验内容 1. 实验任务1 task1_1.c 源代码: 1 #include <stdio.h> 2 #define N 5 3 4 void input(int x[], int n); 5 void output(int x[], int n); 6 void 阅读全文
摘要:
1 import numpy as np 2 3 def nearest_neighbor_algorithm(distance_matrix, cities): 4 num_cities = len(cities) 5 unvisited_cities = set(cities[1:]) # St 阅读全文
摘要:
一、实验目的 二、实验准备 三、实验内容 四、实验结论 1. 实验任务1 task1_1.c 源代码: 1 #include <stdio.h> 2 #define N 4 3 void test1() { 4 int a[N] = {1, 9, 8, 4}; 5 int i; 6 // 输出数组a 阅读全文
摘要:
一、实验目的 二、实验准备 三、实验内容 1. 实验任务1 源代码: 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <time.h> 4 #include <windows.h> 5 #define N 80 6 7 void print 阅读全文
摘要:
摘要 一、实验目的 二、实验准备 三、实验内容 四、实验结论 task1 源代码: 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <time.h> 4 #define N 5 5 #define N1 374 6 #define N2 4 阅读全文
摘要:
一、实验目的 二、实验准备 三、实验内容 四、实验结论 task1 task1_1 代码: 1 #include <stdio.h> 2 3 int main() 4 { 5 printf(" O \n"); 6 printf("<H>\n"); 7 printf("I I\n"); 8 9 pri 阅读全文
|