佛奴儿
佛奴儿
全部文章
分类
未归档(985)
归档
标签
去牛客网
登录
/
注册
Roni
ACMer
TA的专栏
0篇文章
0人订阅
职场那些事儿
0篇文章
0人学习
全部文章
(共985篇)
A Wasserstein Distance[贪心/模拟]
链接:https://www.nowcoder.com/acm/contest/91/A来源:牛客网 最近对抗生成网络(GAN)很火,其中有一种变体WGAN,引入了一种新的距离来提高生成图片的质量。这个距离就是Wasserstein距离,又名铲土距离。 这个问题可以描...
2018-04-15
0
732
Z划分空间
/* https://blog.csdn.net/fastkeeper/article/details/38905249 https://max.book118.com/html/2017/1007/136303585.shtm 具体数学第一章第二节的问题,Knuth写的 zoj_1652 ...
2018-04-14
0
351
康拓展开及其逆展开
#include<bits/stdc++.h> using namespace std; const int maxn = 100000000+100; int n, m, cnt; int f[] = {1, 1, 2, 6, 24, 120,...
2018-04-13
0
386
九余数定理(同余定理)
九余数定理(同余定理) 我们都知道对于十进制数,只要这个数能除尽3/9则他个位数字之和也能除尽3/9,以前只知道用没有证明过,下面来简单证明一下。 对于十进制数,举个简单的例子,这个数是abcd,他表示的大小就是 x=10...
2018-04-13
0
0
UVA - 294 Divisors【数论/区间内约数最多的数的约数个数】
Mathematicians love all sorts of odd properties of numbers. For instance, they consider 945 to be an interesting number, since it is the first odd num...
2018-04-12
0
507
欧拉函数模板
#include<bits/stdc++.h> using namespace std; int n,k,p[200002],ans; int cnt,c; vector<int> v; void phi() { for(int i=2; ...
2018-04-11
0
418
n!在k进制下的后缀0
问n! 转化成k进制后的位数和尾数的0的个数。【UVA 10061 How many zeros and how many digits?】 Given a decimal integer number you will have to find out how many t...
2018-04-11
0
531
鹰蛋问题【转】
<center> 4214: Power Eggs Time Limit: 1 Sec Memory Limit: 128 MB Submit: 130 Solved: 24 </center> Description Benedict bought K ...
2018-04-11
0
648
2110: 扫雷
<center> http://acm.zcmu.edu.cn/JudgeOnline/problem.php?id=2110 2110: 扫雷 Time Limit: 1 Sec Memory Limit: 128 MBSubmit: 88 Solved: 36[Sub...
2018-04-11
0
456
分解质因数
分解质因数: 1.保留重复 #include<stdio.h> #include<iostream> #include<string.h> #include<string> #include<ctype.h> #i...
2018-04-10
0
376
首页
上一页
43
44
45
46
47
48
49
50
51
52
下一页
末页