码迷,mamicode.com
首页 >  
搜索关键字:using password: yes    ( 53562个结果
dev c++使用注意事项
万能函数头 #include<bits/stdc++.h> 命名空间的声明 using namespace std; ...
分类:编程语言   时间:2020-06-19 21:20:17    阅读次数:90
Token Authentication vs. Cookies
Token Authentication vs. Cookies What is the difference between token authentication and authentication using cookies? I am trying to implement the Em ...
分类:其他好文   时间:2020-06-19 20:57:52    阅读次数:62
ccf 201312-1 出现次数最多的数
思路 用数组下标作为数字,数组元素记录次数 注意事项 声明数组的时候,如果用 int index[10000]; 会出现不为0的随机数 #include<bits/stdc++.h> using namespace std; /* run this program using the console ...
分类:其他好文   时间:2020-06-19 20:47:36    阅读次数:52
[acwing 308]how many of them题解
我只放代码你们凑活看吧。。 参考了大佬 @墨染空 的题解 暴力代码 #include<bits/stdc++.h> typedef pair<int,int> pii; using namespace std; int n,m,bnum=0; pii bian[666]; int to[33],nx ...
分类:Windows程序   时间:2020-06-19 14:23:18    阅读次数:64
Codeforces Round #650 (Div. 3) E. Necklace Assembly (暴力)
题意:有一个字符串,要求使用其中字符构造一个环(不必全部都用),定义一个环是k美的,如果它转$k$次仍是原样,现在给你$k$,要求最长的k美环的长度. 题解:我们首先看$k$,如果一个环转$k$的因子次是美的,那么$k$次也一定是美的,然后再看环,假如一个环最少转$d$次是美的,那么这个环的长度$n ...
分类:其他好文   时间:2020-06-19 14:04:37    阅读次数:47
VS code 调试C++
创建一个文件夹,路径不能有中文 文件->打开文件夹->打开刚刚的新建的文件夹 新建一个cpp文件 测试代码 #include <iostream> using namespace std; int main() { for(int i=0;i<10;++i) { cout << i<<endl; } ...
分类:编程语言   时间:2020-06-19 13:56:57    阅读次数:46
Treap板子
#include <bits/stdc++.h> using namespace std; typedef long long ll; const int SIZE = 1e5 + 5; class Treap { struct Node { int l, r; int val, dat; //节点 ...
分类:其他好文   时间:2020-06-19 13:40:37    阅读次数:40
二分查找的 上边界和下边界 以及最接近上边界和最接近下边界的例子
模板来自 www.acwing.com // 23132423543426561213.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。 // #include <iostream> #include <vector> using namespace std; int tes ...
分类:其他好文   时间:2020-06-19 12:28:55    阅读次数:67
chromium VisualStudio Tricks
Here is an incomplete stack of tricks to help you work with Chromium in Visual Studio. Faster Solution Loading / IntelliSense Loading a huge solution ...
分类:其他好文   时间:2020-06-19 12:20:55    阅读次数:63
Codeforces Global Round 8 A. C+=(贪心)
题目链接:https://codeforces.com/contest/1368/problem/A 题意 给出 $a,b$,只可以使用 '+=' 运算符,问至少要使用多少次使得 $a$ 或 $b$ 大于 $n$ 。($1 \le a,b \le n \le 10^9$) 题解 每次让较小的数加上较 ...
分类:其他好文   时间:2020-06-19 11:52:04    阅读次数:44
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!