码迷,mamicode.com
首页 >  
搜索关键字:choose    ( 1226个结果
条件控制
El可以从不同的域取出数据,但是不能进行逻辑处理,JSTL标签能通过:if、choose、when、otherwise进行条件控制。 1、<c:if>标签: 表单提交数据: <c:if>标签进行判断: 注意事项:对于EL标签内的字符串判断是否相等,不能用equals()方法,直接用==,即可。JST ...
分类:其他好文   时间:2019-10-06 18:25:01    阅读次数:96
一些数学上杂七杂八的东西
组合恒等式: $\sum\limits_{i=0}^n( 1)^i{n\choose i}=[n=0]$ 二项式反演: $f(n)=\sum\limits_{i=0}^n{n\choose i}g(i)\Leftrightarrow g(n)=\sum\limits_{i=0}^n( 1)^{n i ...
分类:其他好文   时间:2019-10-05 22:52:30    阅读次数:144
CF1228E Another Filling the Grid
"题目链接" 问题分析 比较显见的容斥,新颖之处在于需要把横竖一起考虑…… 可以枚举没有$1$的行数和列数,答案就是 $$ \sum\limits_{i=0}^n\sum\limits_{j=0}^m( 1)^{i+j}{n\choose i}{n \choose j}(k 1)^{i n+j n ...
分类:其他好文   时间:2019-10-02 16:31:26    阅读次数:64
LC 599. Minimum Index Sum of Two Lists
题目描述 Suppose Andy and Doris want to choose a restaurant for dinner, and they both have a list of favorite restaurants represented by strings. You need ...
分类:其他好文   时间:2019-09-30 23:35:43    阅读次数:128
AtCoder Beginner Contest 142【D题】【判断素数的模板+求一个数的因子的模板】
D - Disjoint Set of Common Divisors Problem Statement Given are positive integers AA and BB. Let us choose some number of positive common divisors of  ...
分类:其他好文   时间:2019-09-29 11:15:27    阅读次数:133
COMPSCI 3307A 001 FW19
Assignments and ProjectsCOMPSCI 3307A 001 FW19? Assignments and ProjectsAssignments and ProjectsAssignment - In progressComplete the form, then choose ...
分类:其他好文   时间:2019-09-28 20:13:27    阅读次数:75
面向对象再回顾
类与对象: 对象: 属性和方法的结合体,类是一系列共同的属性和方法 在现实中:先有对象再有类 程序中:现有类再有对象 定义类:(类名建议用驼峰命名) class关键 类名 打印stu1.choose打印的是他的地址, >实例化产生的对象.未加括号的方法是表示的是这个方法的内存地址,上面的那些函数是类 ...
分类:其他好文   时间:2019-09-26 09:43:59    阅读次数:89
wxpython 弹窗选中一个到多个文件
#选择目录 if __name__ == "__main__": app = wx.PySimpleApp() dialog = wx.DirDialog(None, "Choose a directory:", style=wx.DD_DEFAULT_STYLE | wx.DD_NEW_DIR_B... ...
分类:编程语言   时间:2019-09-25 15:19:24    阅读次数:139
908. Smallest Range I - LeetCode
Description: Given an array A of integers, for each integer A[i] we may choose any x with -K <= x <= K, and add x to A[i]. After this process, we have ...
分类:其他好文   时间:2019-09-23 13:39:54    阅读次数:127
Codeforces 888E:Maximum Subsequence(枚举,二分)
You are given an array a consisting of n integers, and additionally an integer m . You have to choose some sequence of indices $b_1,?b_2,?...,?b_k (1? ...
分类:其他好文   时间:2019-09-22 21:16:43    阅读次数:137
1226条   上一页 1 ... 14 15 16 17 18 ... 123 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!