传送门 题目描述 The students of the HEU are maneuvering for their military training.The red army and the blue army are at war today. The blue army finds that ...
分类:
其他好文 时间:
2018-06-07 21:52:28
阅读次数:
156
#!/usr/bin/env python # encoding: utf-8 import openpyxl import collections import json import commands #颜色显示 def blue(string): print ("\033[0;34m%s\03... ...
分类:
Web程序 时间:
2018-06-07 19:26:44
阅读次数:
601
一、标签 属性(在开始标签里写键值对) 例如: style=“属性值” 颜色 1.英文 如:red 2.16进制代码 例如:#cccccc #ccc 3.Rgba(0~255,0~255,0~255,0~1)前三个是rgb值,0~255,0表示最深,r是red,g是green,b 是blue 整个颜 ...
分类:
其他好文 时间:
2018-06-02 19:05:47
阅读次数:
178
Red() 函数 red() 函数非常简单,其主要用来获取一个颜色当中的红色值。假设有一个 #f36 的颜色,如果你想得到 #f36 中的 red 值是多少,这个时候使用 red() 函数就能很简单获取。 得到的值是”255”。 Green() 函数 green() 函数和 red() 函数一样,用 ...
分类:
其他好文 时间:
2018-06-02 13:27:02
阅读次数:
120
const size_t t_bright=1,t_color=2,t_frequency=3,t_switch=4; int red = 0,green = 0,blue = 0; int type = 2;//当前模式 1亮度 2颜色 3呼吸 4开关 /** * @Desc 解析json * 有... ...
分类:
其他好文 时间:
2018-06-01 19:04:55
阅读次数:
211
75. Sort Colors Given an array with n objects colored red, white or blue, sort them in-place so that objects of the same color are adjacent, with the ...
分类:
其他好文 时间:
2018-05-30 22:51:39
阅读次数:
208
fr = open ('red.txt',mode='r',encoding='utf-8') red = fr.read() print('明文:'+ red) print('密文:',end='') fr.close() fw = open('blue.txt',mode ='a',encodi... ...
分类:
其他好文 时间:
2018-05-30 22:46:47
阅读次数:
175
import turtle turtle.speed(10) colors = ['red', 'purple', 'blue', 'green' , 'yellow', 'orange'] for i in range(200): turtle.pencolor(colors[i% 6]) tur ...
分类:
其他好文 时间:
2018-05-30 22:45:00
阅读次数:
185
import turtle colors=['yellow','red','black','blue','purple','orange'] turtle.speed(10) for i in range(100): turtle.pencolor(colors[i%6]) turtle.forwa ...
分类:
其他好文 时间:
2018-05-30 22:40:49
阅读次数:
205
这个题目我成功爆零,$\color{blue}{TTTTTLE}$了全部的点……我可真棒啊…… $\color{red}{Description}$ 火星人最近研究了一种操作:求一个字串两个后缀的公共前缀。比方说,有这样一个字符串:$madamimadam$, 我们将这个字符串的各个字符予以标号:序 ...
分类:
Web程序 时间:
2018-05-30 21:33:00
阅读次数:
197