码迷,mamicode.com
首页 >  
搜索关键字:a simple game    ( 11903个结果
微服务开发手册之GRPC
> GRPC是一个高性能、通用的开源RPC框架,基于HTTP/2协议标准和Protobuf序列化协议开发,支持众多的开发语言。 @[TOC] 1 简介 在GRPC框架中,客户端可以像调用本地对象一样直接调用位于不同机器的服务端方法,如此我们就可以非常方便的创建一些分布式的应用服务。 在服务端,我们实 ...
分类:其他好文   时间:2020-05-20 11:59:55    阅读次数:79
redis-02 五种类型底层数据结构
redis有五种基本数据结构:字符串、hash、set、zset、list。但是你知道构成这五种结构的底层数据结构是怎样的吗? 今天我们来花费五分钟的时间了解一下。 1、string 这里不得不提动态字符串 SDS,即 ”simple dynamic string" 的缩写。redis 中所有场景中 ...
分类:其他好文   时间:2020-05-19 20:26:46    阅读次数:59
Python SMTP发送邮件
SMTP(Simple Mail Transfer Protocol)即简单邮件传输协议,它是一组用于由源地址到目的地址传送邮件的规则,由它来控制信件的中转方式。 python的smtplib提供了一种很方便的途径发送电子邮件。它对smtp协议进行了简单的封装。 Python创建 SMTP 对象语法 ...
分类:编程语言   时间:2020-05-19 16:45:39    阅读次数:80
BUUCTF Re部分wp(三)
BUUCTF Re部分wp(一) BUUCTF Re部分wp(二) 1,[GUET-CTF2019]number_game 这题似乎是与二叉树相关,但我想试试爆破的方法 可以看出输入要求在0和4之间,长度为10,5^10可以接受 from itertools import * import subp ...
分类:其他好文   时间:2020-05-18 23:03:07    阅读次数:229
[UVA532] Dungeon Master 题解
Description You are trapped in a 3D dungeon and need to find the quickest way out! The dungeon is composed of unit cubes which may or may not be fille ...
分类:其他好文   时间:2020-05-18 20:55:26    阅读次数:60
Educational Codeforces Round 87 (Rated for Div. 2)
"题目传送门" 还是 "视频题解" 。 感觉E还是一个挺综合的题,涉及到二分图、dp、树上的相关内容。质量还是挺不错的。其它的应该在视频里说得比较清楚。 代码如下: A. Alarm Clock B. Ternary String C1. Simple Polygon Embedding C2. N ...
分类:其他好文   时间:2020-05-18 14:36:57    阅读次数:65
【构造】D - Game With Array
"D Game With Array" 题意:构造一个长度为$N$,和为$S$的正整数序列,问能不能找到一个1~S的数$K$,使得数组里找不出一个子序列的和为$K$或者$S K$ 思路:构造一个前$N 1$项均为1,第$N$项为$S (N 1)$的数组即可。此时只要$S (N 1) N$,取$K=N ...
分类:其他好文   时间:2020-05-18 09:15:18    阅读次数:81
2.23骰子游戏
#写一个骰子游戏 import random class Game: def __init__(self,player1,player2): self.player1 = player1 self.player2 = player2 def star_game(self): self.player1 ...
分类:其他好文   时间:2020-05-17 22:01:42    阅读次数:87
Educational Codeforces Round 87 (Rated for Div. 2) C2. Not So Simple Polygon Embedding(几何)
The statement of this problem is the same as the statement of problem C1. The only difference is that, in problem C1, nn is always even, and in C2, nn ...
分类:其他好文   时间:2020-05-17 20:38:11    阅读次数:558
D. Game With Array
Petya and Vasya are competing with each other in a new interesting game as they always do. At the beginning of the game Petya has to come up with an a ...
分类:其他好文   时间:2020-05-17 13:32:47    阅读次数:135
11903条   上一页 1 ... 45 46 47 48 49 ... 1191 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!