Stack and queue exercises

Stack: first in, last out, use of STL standard stack: #include < stack > Queue: last in and last out --#include < queue > Stack basic functions: push(x); Stack pressing pop(); Pop stack, do not return any value top(); Returns the element at the top of the stack empty(); Return true/false to judge whether the stack is empty U ...

Posted on Wed, 13 Oct 2021 07:56:13 -0400 by adrian_melange

Introduction to C + + - Speech Contest process management system

Reference link https://www.bilibili.com/video/BV1et411b73Z?p=264 Speech contest process management system Program requirements of speech contest Competition rules The school held a speech contest, in which 12 people participated. There are two rounds in the competition. The first round is the knockout and the second round is the finalEach ...

Posted on Sun, 19 Sep 2021 04:12:07 -0400 by crazydip