原创 VHDL大作業

用VHDL語言設計多功能電子鐘,用QuartusII工具編譯和綜合,並在實驗板上調試並實現所要求功能和技術指標,撰寫實驗報告,最後提交驗收並答辯。題目:多功能電子鐘。主要功能要求:1、 電子時鐘。要求用24時制顯示。分屏顯示“時、分”和“

原创 棧的子函數

#include<iostream> #include<string> typedef int ElemType; struct SNode { ElemType data; SNode* next; }; void InitS

原创 Project Euler__problem 10

Problem 10 Summation of primes The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17. Find the sum of all the primes bel

原创 單鏈表上機實驗

#include<iostream> typedef int ElemType; struct LNode { ElemType data; LNode* next; }; void InitList(LNode* &HL)

原创 第一次記錄

現在開始接下了老師的一個項目 也不斷地做出很多“弱智的行爲” 代碼是看網上下載的,出錯率很高

原创 隊列的鏈隊子函數

#include<iostream> #include<stdlib.h> typedef int ElemType; struct LNode { ElemType data; LNode* next; }; struct L

原创 挑戰題二

#include<iostream> #include<stdlib.h> #include<iomanip> #include<cstring> struct train {     int num;     char set

原创 單鏈表及其應用

實驗2  單鏈表及其應用   一、    將課本p61程序改爲用單鏈表來實現,程序運行結果不變。Main函數基本不變,11個算法用單鏈表的操作實現。 二、     編寫一個完整的單鏈表操作的演示程序。 要求實現以下功能: 1)     新

原创 Project Euler__problem 5

Problem 5 Smallest multiple 2520 is the smallest number that can be divided by each of the numbers from 1 to 10 without

原创 Project Euler__problem 8

連續數字最大乘積 在下面這個1000位正整數中,連續4個數字的最大乘積是 9 × 9 × 8 × 9 = 5832。 73167176531330624919225119674426574742355349194934 96983520

原创 順序表子函數

#include<iostream> #include<stdlib.h> typedef int ElemType; struct List { ElemType *list; int size; int Maxsize; };

原创 Project Euler__problem 2

Even Fibonacci numbers Each new term in the Fibonacci sequence is generated by adding the previous two terms. By star