码迷,mamicode.com
首页 >  
搜索关键字:using 127.0.0.1 for servername    ( 53996个结果
P3366 【模板】最小生成树(Prim)
https://www.luogu.com.cn/problem/P3366 1 #define IO std::ios::sync_with_stdio(0) 2 #include <bits/stdc++.h> 3 #define pb push_back 4 using namespace s ...
分类:其他好文   时间:2020-11-26 15:24:23    阅读次数:48
Atcoder Beginner Contest 184
Atcoder Beginner Contest 184 A-Determinant Solution: 输出$ad-bc$ #include <iostream> using namespace std; int main() { int a, b, c, d; cin >> a >> b >> ...
分类:其他好文   时间:2020-11-26 15:23:49    阅读次数:14
用户模块+jwt实现+注册带token值
1 JWT进阶理解 1.1 settings.py """ Django settings for opwf project. Generated by 'django-admin startproject' using Django 2.0.13. For more information on ...
分类:其他好文   时间:2020-11-26 14:36:29    阅读次数:5
Rabbits(跳兔子)
题目大意: 一些坑; 有的坑里面有兔子,有的没有; 坑按顺序排着; 边上的兔子两个兔子可以调到中间有坑的两个兔子之间; 问最多跳多少次; 结束状态是这些兔子之间没有坑了; 对于第一次跳跃,我肯定要拿离团体最近的那个两边 然后跳跃的位置为旁边兔子的旁边 比如 1 3 6 9 先拿1 跳跃到 位置4 , ...
分类:其他好文   时间:2020-11-26 14:15:24    阅读次数:4
HDU5919 H - Sequence II (可持久化线段树)
problem: 给你n个数字,和m个查询. 将[l,r]之间数第一次出现的位置信息弄成一个新的数组,然后找出其中k/2大的数.(k为位置的数量) #include<bits/stdc++.h> using namespace std; const int maxn=2e5+100; const i ...
分类:其他好文   时间:2020-11-26 14:12:20    阅读次数:3
11.14 补题
7-1 阅览室,感觉思路还好,但是写的太繁琐了,借鉴一下过的代码,又写了一遍;,代码: #include<bits/stdc++.h> using namespace std; int s[1010],w[1010]; int main() { int n; cin>>n; while(n--) { ...
分类:其他好文   时间:2020-11-26 14:11:33    阅读次数:3
如何直接跳出多重循环
珠心算p2141灵感: #include<bits/stdc++.h> using namespace std; int s[101]; int x=0; int main(){ int t=0; int n; cin>>n; for(int i=0;i<n;i++){ cin>>s[i]; } f ...
分类:其他好文   时间:2020-11-25 12:25:50    阅读次数:4
test
C++ 内联函数 #include <iostream> using namespace std; inline int Max(int a, int b) { if (a > b) return a; else return b; } int main() { cout << Max(23, 5) ...
分类:其他好文   时间:2020-11-25 12:08:44    阅读次数:2
lex和yacc学习
main.h文件 #ifndef MAIN_HPP #define MAIN_HPP #include <iostream>//使用C++库 #include <string> #include <stdio.h>//printf和FILE要用的 using namespace std; /* * ...
分类:其他好文   时间:2020-11-24 13:01:44    阅读次数:22
通过 RS485 与读卡器通信
using NLog; using System; using System.IO.Ports; using System.Text; using System.Threading; namespace TestCom485 { class Program { static void Main(st ...
分类:其他好文   时间:2020-11-24 12:42:10    阅读次数:9
53996条   上一页 1 ... 61 62 63 64 65 ... 5400 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!