最近在维护公司的十年老项目。写了一些nopi的方法,记录一下。 /// <summary> /// DataTable转成Excel表格 /// </summary> /// <returns></returns> public static byte[] DataTableToExcel(Data ...
###示例 \(n=6\) \(P=<5,10,6,20,2,25,30>\) \(A_{1}:5\times 10\) \(A_{2}:10\times 6\) \(A_{3}:6\times 20\) \(A_{4}:20\times 2\) \(A_{5}:2\times 25\) \(A_{ ...
分类:
编程语言 时间:
2021-05-24 04:37:54
阅读次数:
0
关于fatal error C1189: #error : WINDOWS.H already included. MFC apps must not #include guitao_w 2010-03-18 21:55:00 3791 收藏分类专栏: C/C++ 文章标签: mfc c版权程序出现 ...
分类:
移动开发 时间:
2021-05-24 04:35:30
阅读次数:
0
方法重写 为什么要重写? 父类的功能,子类不一定需要,或子类需要的更多! 特点: 子类和父类需要有继承关系 重写是对父类可访问的方法的重写,和属性无关 声明为 final 的方法不能被重写 声明为 static 的方法不能被重写,但是能够被再次声明 修饰符的范围可以扩大但不能缩小。(public > ...
分类:
其他好文 时间:
2021-05-24 04:27:13
阅读次数:
0
思路,采取map存储每个值,键为该数字,值为次数,大余一次就弹出 var findRepeatNumber = function(nums) { let map = new Map(); for(let i = 0; i < nums.length; i ++){ if(map.has(nums[i ...
分类:
编程语言 时间:
2021-05-24 04:24:08
阅读次数:
0
一.前端 1.jsp展示数据 (1)展示在前端控制台 console.table(参数); (2)弹窗 alert(参数); (3)JSLT的<c:if>标签:https://www.cnblogs.com/saoge/p/14682521.html <c:if test="判断条件,使用EL表达式 ...
AtCoder Regular Contest 118 A - Tax Included Price int main() { IOS; ll k, c; cin >> n >> k; c = (100 * k - 1) / n + 1; cout << (n + 100) * c / 100 - ...
分类:
其他好文 时间:
2021-05-24 04:22:14
阅读次数:
0
出现错误场景:通常是由于很多人或者很多应用(java应用、R应用等)连接数据库,导致连接数(session)数量超出限制。 解决办法 定位原因 -- 以sysdba身份登陆PL/SQL sqlplus / as sysdba; -- 查看当前连接进程数 SQL>select count(*) fro ...
分类:
数据库 时间:
2021-05-24 04:19:23
阅读次数:
0
<sql id="insertColumn"> data_job_id, ds_info, src_ds_type, dst_ds_type, scene_state, last_checked_time, check_period_ms, last_round_reset_time, round_ ...
分类:
其他好文 时间:
2021-05-24 04:16:16
阅读次数:
0
<Style TargetType="DataGridCell"> <Setter Property="ToolTip" Value="{Binding RelativeSource={RelativeSource Self} ,Path=Content.Text}"/> </Style> 加入全局 ...