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
驴妈妈因为出色的运营能力,被腾讯选为首批小程序内测单位。驴妈妈的技术开发团队在很短的时间内完成了开发任务,并积极参与到张小龙团队的内测问题反馈。驴妈妈认为,移动互联网时代,微信是巨大的流量入口,也是旅游服务的重要平台。微信小程序有两个重要特点,一是小,不占很多内存,不用下载、安装,随时随地使用,不费 ...
分类:
微信 时间:
2020-05-18 14:35:22
阅读次数:
85
"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
#写一个骰子游戏 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
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
[TOC] https://codeforces.com/contest/1355 打一半和室友开黑去了哈哈哈哈哈哈反正不计分(不要学我) A. Sequence with Digits 这题我会证!首先对于百位来说,不可能从x跳到x+2,只能从x变成x+1或者不变(因为最大变化量为 $9\time ...
分类:
其他好文 时间:
2020-05-17 00:59:41
阅读次数:
90
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-16 23:37:41
阅读次数:
129
实验四 代码评审 一、实验目的 1) 了解代码审查的含义; 2) 掌握相关编程规范检查工具的安装与使用; 二、实验内容及要求 Code Review中文应该译作“代码审查”或是“代码评审”或“代码复查”,是指通过阅读代码来检查源代码与编码标准的符合性以及代码质量的活动。Code Review主要用来 ...
分类:
其他好文 时间:
2020-05-16 20:54:24
阅读次数:
69
前言 现在很多H5页面都会使用到类似摇一摇等功能,这其实只是应用了HTML5上的传感器api的其中一部分,以下针对自己学习和使用做了个总结,以做备忘和分享。 Device API w3c定义了很多传感器的API,有很多还在草案阶段,兼容性和可用性不是很高,但在可预见的未来,相信这些强大的API可以让 ...
分类:
Web程序 时间:
2020-05-16 20:38:51
阅读次数:
92
DATAS SEGMENT STR1 DB 'ABCD$' STR2 DB 'ABCD$' len equ $-str2 ;len DW str2-str1 match DB 'EQU:',0DH,0AH,'$' nomatch DB 'NOEQU:', 0DH, 0AH, '$' change D ...
分类:
其他好文 时间:
2020-05-16 20:24:42
阅读次数:
83