BaoBao and DreamGrid are playing a game using a strange button. This button is attached to an LED light (the light is initially off), a counter and a ...
分类:
其他好文 时间:
2018-09-16 18:37:19
阅读次数:
221
【传送门】http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=4020 【题目大意】从起点(sx, sy)出发,要到达(ex , ey)。每次从点(x,y)走的时候要看红绿灯,灯的状态为1时只能左右走,走到(x , y+1)或者 ...
分类:
其他好文 时间:
2018-09-07 18:39:22
阅读次数:
207
某些项目编译错误:No resource found that matches the given name 'Theme.AppCompat.Light' res中styles.xml里 <style name="AppBaseTheme" parent="Theme.AppCompat.Ligh ...
分类:
移动开发 时间:
2018-09-07 01:01:03
阅读次数:
277
Flashing Fluorescents 题目描述 You have n lights, each with its own button, in a line. Pressing a light’s button will toggle that light’s state; if the li ...
分类:
其他好文 时间:
2018-08-30 00:11:12
阅读次数:
458
You found two items in a treasure chest! The first item weighs weight1 and is worth value1, and the second item weighs weight2 and is worth value2. Wh ...
分类:
其他好文 时间:
2018-08-17 19:57:42
阅读次数:
151
本文选择了4个light weight CNN模型,并对它们的设计思路和性能进行了分析与总结,目的在于为在完成图像识别任务时模型的选择与设计方面提供相关的参考资料。
分类:
其他好文 时间:
2018-08-13 18:43:40
阅读次数:
375
Jimmy writes down the decimal representations of all natural numbers between and including m and n, (m ≤ n). How many zeroes will he write down? Input ...
分类:
其他好文 时间:
2018-08-10 11:01:02
阅读次数:
187
答案来自 stack flow 修改: res -> values -> style.xml style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar" 这对我来说是有效的。 ...
分类:
移动开发 时间:
2018-08-04 00:59:57
阅读次数:
207
1、Lua的特性 轻量级: 它用标准C语言编写并以源代码形式开放,编译后仅仅一百余K,可以很方便的嵌入别的程序里。 可扩展: Lua提供了非常易于使用的扩展接口和机制:由宿主语言(通常是C或C++)提供这些功能,Lua可以使用它们,就像是本来就内置的功能一样。 其它特性: 支持面向过程(proced ...
分类:
其他好文 时间:
2018-07-30 13:33:38
阅读次数:
389
Two client: Pub_1.py import paho.mqtt.client as mqtt import time import sys import random def on_connect(client, userdata, flags, rc): print("connecte ...
分类:
编程语言 时间:
2018-07-21 21:34:29
阅读次数:
433