Polycarp is preparing the first programming contest for robots. There are nn problems in it, and a lot of robots are going to participate in it. Each ...
分类:
其他好文 时间:
2020-03-03 09:16:12
阅读次数:
84
参考: https://docs.microsoft.com/zh-cn/dotnet/csharp/language-reference/keywords/async https://docs.microsoft.com/zh-cn/dotnet/csharp/programming-guide/ ...
给定一个非负整数数组,你最初位于数组的第一个位置。 数组中的每个元素代表你在该位置可以跳跃的最大长度。 判断你是否能够到达最后一个位置。 示例 1: 示例 2: 动态规划 这里可以用动态规划 Dynamic Programming 来解,维护一个一维数组 dp,其中 dp[i] 表示达到i位置时剩余 ...
分类:
其他好文 时间:
2020-03-02 12:50:20
阅读次数:
48
对于 SROP 技术只是了解过,实战还是第一次,记录一下原理以及 pwntools 相关工具的用法。 "4eriri ciscn_2019_es_7" "【技术分享】Sigreturn Oriented Programming攻击简介" "pwnlib.rop.srop" ...
分类:
其他好文 时间:
2020-03-02 10:25:28
阅读次数:
122
A. Contest for Robots Polycarp is preparing the first programming contest for robots. There are 𝑛n problems in it, and a lot of robots are going to p ...
分类:
其他好文 时间:
2020-03-02 01:18:29
阅读次数:
74
ABAP 其实ABAP的编程范式相对其他语言比较简单,没有太多异步操作。除了STARTING NEW TASK可以实现异步调用。 Use ABAP Multi Thread programming to deal with a real performance issue: https://blog ...
分类:
移动开发 时间:
2020-03-01 12:26:39
阅读次数:
78
'''本节说明搭建pytorch神经网络的常用两种方式 相比快速搭建法 第一种可以个性化设置网络结构''' import torch import torch.nn.functional as F #方式1 用 class 继承了一个 torch 中的神经网络结构, 然后对其进行了修改 class ...
分类:
其他好文 时间:
2020-03-01 10:30:35
阅读次数:
45
'''本节说明搭建pytorch的常用两种方式 相比快速搭建法 第一种可以个性化设置网络结构''' import torch import torch.nn.functional as F #方式1 用 class 继承了一个 torch 中的神经网络结构, 然后对其进行了修改 class Net( ...
分类:
其他好文 时间:
2020-03-01 10:29:49
阅读次数:
91
decoder.py """ 实现解码器 """ import heapq import torch.nn as nn import config import torch import torch.nn.functional as F import numpy as np import rando ...
分类:
其他好文 时间:
2020-02-29 22:47:07
阅读次数:
103
[TOC] Web API:是指“使用HTTP协议通过网络调用的API”。 API:APPlication Programming Interface,是软件组件的外部接口。 Web API 的重要性 通过API才能使用的在线服务出现 移动应用与API API的经济学 各种各样的API模式 将已发布 ...