当前位置:网站首页>NLP-D62-nlp比赛D31&刷题D15
NLP-D62-nlp比赛D31&刷题D15
2022-06-27 05:19:00 【甄小胖】
vuneralbility和weakness的区别
好像没有区别,需要去区分的是threat;vulnerability;riskhttps://www.threatanalysis.com/2010/05/03/threat-vulnerability-risk-commonly-mixed-up-terms/

又好久没刷题了,但是不能停!!!
又卡了好久的bug,郁闷。
826 单链表
**m = int(input())
idx=1
h = -1
N = 100010
e = [0]*N
ne =[0]*N
def insert_h(x):
global idx,h
e[idx] =x
ne[idx] = h
h = idx
idx+=1
def remove(k):
global h
if k==0:
h=ne[h]
else:
ne[k]=ne[ne[k]]
def insert(k,x):
global idx
e[idx] = x
ne[idx]=ne[k]
# ne中是k,不要错写成x
ne[k]=idx
idx+=1
for _ in range(m):
op, *pt = input().split()
if op=='H':
insert_h(int(pt[0]))
elif op=='I':
k,x = map(int,pt)
insert(k,x)
else:
remove(int(pt[0]))
while h!=-1:
print(e[h],end=' ')
h = ne[h]
**
边栏推荐
- Cognition - how to fill in 2022 college entrance examination volunteers
- neo4j数据库导出
- golang hello 安装环境异常【已解决】
- 体验 win10 下 oceanbase 数据库
- Obtenir le volume du système à travers les plateformes de l'unit é
- Tri rapide (non récursif) et tri de fusion
- 面试:Selenium 中有哪几种定位方式?你最常用的是哪一种?
- LeetCode-515. Find the maximum value in each tree row
- 019 basics of C language: C preprocessing
- 【622. 设计循环队列】
猜你喜欢

Web3还没实现,Web5乍然惊现!

高翔slam14讲-笔记1

Redis高可用集群(哨兵、集群)
![Mechanical transcoding journal [17] template, STL introduction](/img/78/926db660139fda3d31cceccad7096c.png)
Mechanical transcoding journal [17] template, STL introduction

机械转码日记【17】模板,STL简介

双位置继电器DLS-34A DC0.5A 220VDC

微信小程序WebSocket使用案例

Discussion on streaming media protocol (MPEG2-TS, RTSP, RTP, RTCP, SDP, RTMP, HLS, HDS, HSS, mpeg-dash)

Edge在IE模式下加载网页 - Edge设置IE兼容性

体验 win10 下 oceanbase 数据库
随机推荐
认知篇----2022高考志愿该如何填报
Cognition - how to fill in 2022 college entrance examination volunteers
Microservice system design -- Distributed timing service design
Codeforces Round #802 (Div. 2)
007 basics of C language: C operator
Microservice system design -- distributed transaction service design
Codeforces Round #802 (Div. 2)
微服务系统设计——服务注册与发现和配置设计
When STM32 turns off PWM output, it is a method to fix IO output at high or low level.
How pychart installs packages
清华大学开源软件镜像站网址
微服务系统设计——微服务调用设计
neo4j community与neo4j desktop冲突
Unity point light disappears
Get system volume across platforms in unity
leetcode298周赛记录
three.js第一人称 相机前枪的跟随
[nips 2017] pointnet++: deep feature learning of point set in metric space
es6 0622三
022 basics of C language: C memory management and C command line parameters