码迷,mamicode.com
首页 >  
搜索关键字:NPU    ( 4242个结果
实验7
// 从文本文件file1.dat中读取数据,找出最高分和最低分学生信息,并输出在屏幕上 #include <stdio.h> #include <stdlib.h> #define N 10 // 定义一个结构体类型STU typedef struct student { int num; cha ...
分类:其他好文   时间:2020-01-01 09:53:03    阅读次数:72
实验七
part 1 验证性实验二 仍然正确 总结: 二进制文件与文本文件的区别: 文本文件只能存储char型字符变量,二进制文件可以存储char/int等各种变量值。 #include <stdio.h> #include <stdlib.h> #include <string.h> const int ...
分类:其他好文   时间:2020-01-01 09:50:15    阅读次数:64
java知识点分享,IO流详解!
Java知识IO流详解有人觉得IO知识不太重要,其实不然,IO的使用范围很广,最能体现IO价值的就是网络上的数据传递,尤其是进入互联网时代后,各种常见的分布式架构,都少不了IO的体现。并且很多大厂的面试题中都会体现出对IO的重视,包括衍生出来的NIO、序列化等等。因此学好IO,变成了一件很重要的事情。IO基本概念IO可以简单的理解成INPUT和OUT,代表输入输出的意思。输入就是读,输出就是写。I
分类:编程语言   时间:2020-01-01 09:49:46    阅读次数:100
实验七
Part 1 // 从文本文件file1.dat中读取数据,找出最高分和最低分学生信息,并输出在屏幕上 #include <stdio.h> #include <stdlib.h> #define N 10 // 定义一个结构体类型STU typedef struct student { int n ...
分类:其他好文   时间:2019-12-31 23:18:28    阅读次数:69
Verilog状态机
以1011为例 代码如下: ...
分类:其他好文   时间:2019-12-31 20:11:32    阅读次数:72
求传递闭包的warshall算法
———————————————————————————— Question:R是定义于集合S上的二元关系,求R的传递闭包。 Input:relation R,set A Output:t(R),which is the transitive closure of R Solution:Warshal ...
分类:编程语言   时间:2019-12-31 17:05:01    阅读次数:326
实验七
#include <stdio.h> #include <stdlib.h> #include <string.h> const int N = 10; // 定义结构体类型struct student,并定义其别名为STU typedef struct student { long int id; ...
分类:其他好文   时间:2019-12-31 14:26:21    阅读次数:59
[LC] 234. Palindrome Linked List
Given a singly linked list, determine if it is a palindrome. Example 1: Input: 1->2 Output: false Example 2: Input: 1->2->2->1 Output: true /** * Defi ...
分类:其他好文   时间:2019-12-31 12:46:25    阅读次数:89
【luoguP3676】 小清新数据结构题 推式子(LCT维护)
挺有趣的一个数据结构题,不必用 LCT 维护,只不过 LCT 比较好写 ~ code: #include <cstdio> #include <string> #include <cstring> #include <algorithm> #define N 200008 #define ll lo ...
分类:其他好文   时间:2019-12-31 10:39:27    阅读次数:80
Vue的学习(二)
11、v-for 操作对象与数值: 1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 <meta charset="UTF-8"> 5 <title>v-for操作对象与数值</title> 6 <script src="./lib/vue.js"></ ...
分类:其他好文   时间:2019-12-31 01:40:39    阅读次数:110
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!