码迷,mamicode.com
首页 >  
搜索关键字:algorithm    ( 11758个结果)
POJ3207(SAT+模型3)
题目链接:https://vjudge.net/problem/POJ-3207 题目意思:有一个圆,给出一些边连接着两个点,边可以从圆里连,也可以从圆外连,问是否可以不相交 对于边i,ji,j限制条件为不相交,即不在同一个集合中 因此我们将这个问题转化为了2-SAT问题 设ii表示边ii在圆内,i ...
分类:其他好文   时间:2020-03-22 22:35:50    阅读次数:71
0321补题
C - Watchmen 无比暴力的暴力 1 #include <iostream> 2 #include<algorithm> 3 using namespace std; 4 long long n,p[200005],q[200005],s[200005]; 5 struct node{ 6 ...
分类:其他好文   时间:2020-03-22 22:34:29    阅读次数:97
风格迁移论文理解--A Neural Algorithm of Artistic Style
目录 整体思路 原理理解 实际操作 2015年,Gatys等人发表了文章《A Neural Algorithm of Artistic Style》,首次使用深度学习进行艺术画风格学习。为普通照片 "赋予" 名画风格。犹如两个不同物体的灵魂和肉体的重组。本文将基于这篇论文和一些大佬的文章说下我的拙见 ...
分类:其他好文   时间:2020-03-22 19:50:29    阅读次数:91
C++:迭代器(iterator)使用的几点
#include <iomanip> #include <iostream> #include <vector> #include <algorithm> using namespace std; using std::vector; int main() { string word("asdfgh ...
分类:编程语言   时间:2020-03-22 17:42:33    阅读次数:66
DES算法学习
密码学课程上老师讲DES很清楚,然而分成了几节课来讲总是断断续续的,理解的不够全面还容易忘记,因此这篇文章特地好好学习一些DES算法,并努力争取学习完后自己写出c程序。 本文内容大多翻译自J.Orlin Grabbe的[The DES Algorithm Illustrated][1],外加一些自己 ...
分类:编程语言   时间:2020-03-22 15:32:53    阅读次数:123
北京理工大学复试上机--2009
1、请输入字符串,最多输入4 个字符串,要求后输入的字符串排在前面,例如 输入:EricZ 输出:1=EricZ 输入:David 输出:1=David 2=EricZ 输入:Peter 输出:1=Peter 2=David 3=EricZ 输入:Alan 输出:1=Alan 2=Peter 3=D ...
分类:其他好文   时间:2020-03-22 01:14:10    阅读次数:86
E - Cleaning Shifts POJ - 2376
贪心,有一些点少不留意就会wa #include <iostream> #include <cstdio> #include <cstring> #include <limits> //#include <stack> #include<queue> #include <algorithm> #de ...
分类:其他好文   时间:2020-03-21 21:43:42    阅读次数:64
Stall Reservations POJ - 3190
结构体+优先队列+贪心 #include <iostream> #include <cstdio> #include <cstring> #include <limits> //#include <stack> #include<queue> #include <algorithm> #define ...
分类:其他好文   时间:2020-03-21 21:23:32    阅读次数:65
反转链表
#include<iostream> #include <stack> #include <algorithm> #include <string> using namespace std; typedef struct ListNode { int data; struct ListNode* n ...
分类:其他好文   时间:2020-03-21 21:21:36    阅读次数:60
Supermarket POJ - 1456
并查集+贪心 https://vjudge.net/contest/362147#problem/C #include <iostream> #include <cstdio> #include <cstring> #include <limits> #include <algorithm> #de ...
分类:其他好文   时间:2020-03-21 20:56:28    阅读次数:60
共11758条   上一页 1 ... 65 66 67 68 69 ... 1176 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!