A. Brain's Photos 题意: 给你一个n*m的字符矩阵,如果字符中出现'C', 'M', 'Y'这三个中的任何一个就输出"#Color";否则输出"#Black&White". 代码如下: B. Bakery 题意: 给你三个数n,m,k分别代表城市数、道路数、面粉店数,剩下的n-k为 ...
分类:
其他好文 时间:
2016-08-21 21:06:04
阅读次数:
184
Problem A Brain's Photos 题目大意 n行m列的矩形,每个格子有一种颜色。如果含有C、M、Y则输出#Color,否则输出#Black&White。 解题分析 = = 参考程序 1 #include <map> 2 #include <set> 3 #include <stack ...
分类:
其他好文 时间:
2016-08-21 13:39:08
阅读次数:
122
Description Saruman the White must lead his army along a straight path from Isengard to Helm’s Deep. To keep track of his forces, Saruman distributes ...
分类:
其他好文 时间:
2016-08-19 18:59:34
阅读次数:
188
问题描述:Given an array with n objects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the order ...
分类:
编程语言 时间:
2016-08-19 17:32:35
阅读次数:
168
input::-webkit-input-placeholder{ color: white !important;}input:-moz-placeholder{ color: white !important;}input::-moz-placeholder{ color: white !imp ...
分类:
其他好文 时间:
2016-08-19 16:18:42
阅读次数:
120
/*p标签自动换行*/ p{ word-wrap:break-word; word-break:normal; } /*p强制不换行*/ p{ white-space:nowrap; } /*块级元素强制英文单词断行*/ p{ word-break:break-all; } ...
分类:
Web程序 时间:
2016-08-19 13:18:15
阅读次数:
381
1:UI动画序列帧shader 分割线 Shader "Custom/ImageAnim" {Properties{[PerRendererData] _MainTex("Sprite Texture", 2D) = "white" {}_Color("Tint", Color) = (1,1,1, ...
分类:
其他好文 时间:
2016-08-18 21:10:44
阅读次数:
240
Shader "Custom/CullImage" {Properties{[PerRendererData] _MainTex("Sprite Texture", 2D) = "white" {}_Color("Tint", Color) = (1,1,1,1)_StencilComp("Sten ...
分类:
其他好文 时间:
2016-08-18 21:03:59
阅读次数:
180
Once I got around the cafeteria, building three was easy to spot. 我一走出自助餐厅,很容易看见建筑三。 A large black "3" was painted on a white square on the east corne ...
分类:
其他好文 时间:
2016-08-18 21:00:25
阅读次数:
110