码迷,mamicode.com
首页 >  
搜索关键字:stack frame    ( 16930个结果)
LeetCode#225-Implement Stack using Queues-用队列实现栈
LeetCode#225-Implement Stack using Queues-用队列实现栈 ...
分类:其他好文   时间:2020-03-22 19:32:09    阅读次数:58
以代码为基础的opencv-python学习 图片的加载以及视频展示
import cv2import numpy as np#视频读取def video_demo(): capture = cv2.VideoCapture(0) while(True): ret, frame = capture.read() #frame = cv2.flip(frame,1) # ...
分类:编程语言   时间:2020-03-22 19:25:32    阅读次数:94
完全平方数
给定正整数 n,找到若干个完全平方数(比如 1, 4, 9, 16, ...)使得它们的和等于 n。你需要让组成和的完全平方数的个数最少。https://leetcode-cn.com/explore/learn/card/queue-stack/217/queue-and-bfs/874/1、c+ ...
分类:其他好文   时间:2020-03-22 16:04:47    阅读次数:83
字符串解码
给定一个经过编码的字符串,返回它解码后的字符串。 编码规则为: k[encoded_string],表示其中方括号内部的 encoded_string 正好重复 k 次。注意 k 保证为正整数。 你可以认为输入字符串总是有效的;输入字符串中没有额外的空格,且输入的方括号总是符合格式要求的。 此外,你 ...
分类:其他好文   时间:2020-03-22 14:24:38    阅读次数:68
queue stack 用法
queue 队列,先进先出,排队,队头队尾 queue<int> que; for(int i=0;i<6;i++) que.push(i); cout<<que.front()<<endl<<que.back(); que.pop(); que.empty(); que.size(); pop 队 ...
分类:其他好文   时间:2020-03-22 13:47:26    阅读次数:87
ESP8266 SDK开发: 开发环境搭建(NONOS 2.2.0)
前言 最近发现有些用户使用的是NONOS版本的SDK 考虑到只要是会使用RTOS版本的用户基本上都会使用NONOS版本 而会使用NONOS的用户大部分都不会使用RTOS版本 故后期的教程以NONOS版本为主,RTOS版本为辅 整个文章按照NONOS版本为主线编写,最后说明和RTOS版本的区别 导入工 ...
分类:其他好文   时间:2020-03-22 09:14:05    阅读次数:171
iframe框架嵌套页面(全屏,页面上下左右有空白,去双滚动条)
今天使用iframe框架,遇到了嵌套页面内容不全屏,页面上下左右有空白,出现双滚动条等情况,通过网上查阅,最终解决,在此做个记录。 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>我的创意-我的创意记录</t ...
分类:其他好文   时间:2020-03-22 01:29:48    阅读次数:76
E - Cleaning Shifts POJ - 2376
贪心,有一些点少不留意就会wa #include <iostream> #include <cstdio> #include <cstring> #include <limits> //#include <stack> #include<queue> #include <algorithm> #de ...
分类:其他好文   时间:2020-03-21 21:43:42    阅读次数:64
3.(155)最小栈
2020年3月21日 Design a stack that supports push, pop, top, and retrieving the minimum element in constant time. push(x) Push element x onto stack. pop() ...
分类:其他好文   时间:2020-03-21 21:26:35    阅读次数:59
Stall Reservations POJ - 3190
结构体+优先队列+贪心 #include <iostream> #include <cstdio> #include <cstring> #include <limits> //#include <stack> #include<queue> #include <algorithm> #define ...
分类:其他好文   时间:2020-03-21 21:23:32    阅读次数:65
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!