Function cc() Dim rng As Range For Each rng In Range("A1:G10") If rng.Interior.Color = RGB(255, 255, 0) Then cc = 1 + cc End If Next rng End Function ...
分类:
编程语言 时间:
2020-12-01 12:44:41
阅读次数:
22
// 记录字符串中,字符出现的次数 // 数组中,数据出现的次数 // var str = 'abcabcdabcdeabcdef'; // var arr = [1,2,3,1,2,3,4,1,2,3,4,5,1,2,3,4,5,6]; var str = 'abcabcdabcdeabcdef' ...
分类:
其他好文 时间:
2020-12-01 12:40:29
阅读次数:
11
//加载插件 private void LoadPlugins() { string path = Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "addons"); //搜索该目录下的所有 ...
题目 Petya has equal wooden bars of length n. He wants to make a frame for two equal doors. Each frame has two vertical (left and right) sides of length ...
分类:
其他好文 时间:
2020-11-30 16:00:25
阅读次数:
6
给所有link和script标签加随机版本号,方便调试样式,不用每次清缓存了; $("link,script").each(function(){ var t=Math.random().toFixed(4); /*var $tag=$(this).prop("tagName").toLowerCa ...
分类:
其他好文 时间:
2020-11-27 11:46:06
阅读次数:
19
MySQL数据库中,常用的数据类型 类型名称 说明 int(integer) 整数类型 double 小数类型 decimal(m,d) 指定整数位与小数位长度的小数类型 date 日期类型,格式为yyyy-MM-dd,包含年月日,不包含时分秒 datetime 日期类型,格式为yyyy-MM-dd ...
分类:
数据库 时间:
2020-11-27 10:55:23
阅读次数:
13
You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order, and each of their nodes conta ...
分类:
其他好文 时间:
2020-11-26 15:14:07
阅读次数:
5
Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties: Integers in each row are sorted i ...
分类:
其他好文 时间:
2020-11-25 12:59:50
阅读次数:
14
#department ##input 部门新增或者修改 <form action="/department/saveOrUpdate.do" method="post"> <input type="hidden" name="id" value="${department.id}"> <input ...
分类:
Web程序 时间:
2020-11-23 12:15:32
阅读次数:
11
You are given a perfect binary tree where all leaves are on the same level, and every parent has two children. The binary tree has the following defin ...
分类:
其他好文 时间:
2020-11-20 12:00:39
阅读次数:
9