码迷,mamicode.com
首页 >  
搜索关键字:another    ( 2305个结果
[树的深度] Party
Party A company has n employees numbered from 1 to n. Each employee either has no immediate manager or exactly one immediate manager, who is another e ...
分类:其他好文   时间:2019-11-09 20:00:13    阅读次数:92
Codeforces Round #598 (Div. 3) E. Yet Another Division Into Teams dp
There are nn students at your university. The programming skill of the ii-th student is aiai. As a coach, you want to divide them into teams to prepar ...
分类:其他好文   时间:2019-11-06 12:54:44    阅读次数:85
Codeforces Round #597 (Div. 2) D. Shichikuji and Power Grid
链接: https://codeforces.com/contest/1245/problem/D 题意: Shichikuji is the new resident deity of the South Black Snail Temple. Her first job is as follow ...
分类:其他好文   时间:2019-11-05 13:29:48    阅读次数:116
kernel task_struct
```struct task_struct { struct thread_info thread_info; volatile long state; /* -1 unrunnable, 0 runnable, >0 stopped: */ void *stack; /* 堆指针 */ atomi... ...
分类:其他好文   时间:2019-11-02 19:49:43    阅读次数:86
Codeforces Round #595 (Div. 3)
Yet Another Dividing into Teams 有一个长度为n的序列a1,a2...an,将他们分为若干组,使得每一组没有两个数的差为1,使分的组数尽可能少。 思路:将数组排序之后从前往后遍历,如果出现了两个数的差值为1 那么就得分两组 否则 一组 B1、B2 - Books Exc ...
分类:其他好文   时间:2019-10-29 21:56:08    阅读次数:133
力扣算法题—150. Evaluate Reverse Polish Notation
Evaluate the value of an arithmetic expression in Reverse Polish Notation. Valid operators are +, -, *, /. Each operand may be an integer or another e ...
分类:编程语言   时间:2019-10-29 00:07:50    阅读次数:87
import机制
import定义:Python code in one module gains access to the code in another module by the process of importing it. 一 模块module 文件,类型有".py"、".pyo"、".pyc"、".p ...
分类:其他好文   时间:2019-10-28 12:37:08    阅读次数:59
[思维]Minimum Spanning Tree
题目描述 In the mathematical discipline of graph theory, the line graph of a simple undirected weighted graph G is another simple undirected weighted grap ...
分类:其他好文   时间:2019-10-27 20:50:31    阅读次数:119
String、StringBuffer、StringBuilder的区别
##总结: String:底层代码是一个用final修饰的char数组,是一个不可变的字符串,因此是线程安全的。对String字符串进行改变时,都会产生一个新的String对象,然后将指针指向String对象,影响系统性能,适用于少量字符串操作的情况。String初始化时,除了用构造函数进行初始化, ...
分类:其他好文   时间:2019-10-24 00:16:39    阅读次数:106
codeforces #595 div3 题解
A. Yet Another Dividing into Teams Description Solution 1 #include <algorithm> 2 #include <cctype> 3 #include <cmath> 4 #include <cstdio> 5 #include < ...
分类:其他好文   时间:2019-10-23 20:04:59    阅读次数:95
2305条   上一页 1 ... 22 23 24 25 26 ... 231 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!