码迷,mamicode.com
首页 >  
搜索关键字:using password: yes    ( 53562个结果
A1008 Elevator (20分)
一、技术总结 水题 二、参考代码 #include<iostream> #include<vector> using namespace std; int main(){ int n, sum = 0; cin >> n; vector<int> v(n); for(int i = 0; i < n ...
分类:其他好文   时间:2020-06-29 22:43:53    阅读次数:67
AcWing 920. 最优乘车 BFS DIJKSTRA SPFA 方法
地址 https://www.acwing.com/problem/content/description/922/ H城是一个旅游胜地,每年都有成千上万的人前来观光。 为方便游客, 巴士公司在各个旅游景点及宾馆,饭店等地都设置了巴士站并开通了一些单程巴士线路。 每条单程巴士线路从某个巴士站出发,依 ...
分类:Windows程序   时间:2020-06-29 21:28:02    阅读次数:75
P3378 【模板】堆
P3378 【模板】堆 #include<bits/stdc++.h> using namespace std; priority_queue<int,vector<int>,greater<int> >q;//小根堆 int n; int op; int x; int main(){ scanf( ...
分类:其他好文   时间:2020-06-29 18:42:21    阅读次数:76
Codeforces Round #653 (Div. 3)题解
A.Required Remainder 传送门 #include<bits/stdc++.h> using namespace std; #pragma GCC optimize(2) typedef long long ll; typedef unsigned long long ull; ty ...
分类:其他好文   时间:2020-06-29 17:00:21    阅读次数:91
链表-基础
#include<iostream> #include<cmath> #include<vector> #include<stack> #include<queue> using namespace std; struct Node { Node* next; int val; Node() {}; ...
分类:其他好文   时间:2020-06-29 13:29:53    阅读次数:43
C#基础 Lambda
原文:https://www.cnblogs.com/Lau7/p/5451985.html 扩展类 public static class ExpressionExt { public static Expression<Func<T, bool>> And<T>(this Expression< ...
分类:Windows程序   时间:2020-06-29 13:11:07    阅读次数:70
递归和全排列
#include<bits/stdc++.h> using namespace std; #define Swap(a,b) {int temp=a;a=b;b=temp;} int data[]={1,2,3,4,5,6,7,8,9,10}; int num=0; int Perm(int beg ...
分类:其他好文   时间:2020-06-29 11:34:30    阅读次数:45
Power Apps visual for Power BI
Using the Power Apps visual Let's look at the steps required to use the Power Apps visual in your Power BI report. Power Apps visual is available by d ...
分类:移动开发   时间:2020-06-29 11:30:50    阅读次数:107
c# 递归 yield关键字的用法
1.yield实现的功能 yield return: 先看下面的代码,通过yield return实现了类似用foreach遍历数组的功能,说明yield return也是用来实现迭代器的功能的。 using static System.Console; using System.Collectio ...
分类:Windows程序   时间:2020-06-29 09:18:57    阅读次数:69
二分模版练习
二分初学者一定要认真熟练将以下模版练习并将逻辑理解清楚 #include<bits/stdc++.h> using namespace std; int a[10]={1,3,5,7,9,9,9,11,13,15}; //二分查找 返回>=p的第一数下标,相当于jlower_bound() int ...
分类:其他好文   时间:2020-06-29 09:14:15    阅读次数:44
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!