码迷,mamicode.com
首页 >  
搜索关键字:max the curse of brotherhood    ( 23668个结果
【被虐】第三场选拔赛补题
补题时间。。。 这回出题人出的都是mbg风格的题。。。话不多说,挑几个有意思的说说。 B题,题意给定$n\leqslant 10^9$,求 \[ \sum_{p\leqslant n}\frac 1p,\ (p\ is\ prime) \] 的值并四舍五入取整。 显然直接求是不行的,因为会超时,事实 ...
分类:其他好文   时间:2020-11-30 15:23:12    阅读次数:1
Oracle Data Guard 报错 ORA-16057: Data Guard 配置中没有服务
Oracle Data Guard 报错 ORA-16057: Data Guard 配置中没有服务器
分类:数据库   时间:2020-11-25 12:59:34    阅读次数:14
使用cookie跳过登录进入禅道首页
import timefrom selenium import webdriverdriver = webdriver.Chrome()driver.get('URL')driver.maximize_window()driver.implicitly_wait(10)time.sleep(2)# ...
分类:其他好文   时间:2020-11-25 12:32:04    阅读次数: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
板子-__int128
__int128 是比 long long 还要大的数据类型(\(max = 2^{128}-1\)) 其输入和输出不能用常规方法,用 read() 和 write() 函数代替 #include<bits/stdc++.h> using namespace std; __int128 read(i ...
分类:其他好文   时间:2020-11-24 12:37:39    阅读次数:6
离线方式搭建本地的nginx yum源
手动下载安装nginx 需要的安装依赖包 登录可连接公网的一台机器, 配置 nginx.repo yum源 cat nginx.repo [nginx] name=nginx repo baseurl=http://nginx.org/packages/centos/$releasever/$bas ...
分类:其他好文   时间:2020-11-23 12:47:29    阅读次数:23
nginx request_body 为空 没有参数 ;关于client_max_body_size client_body_buffer_size配置
最近生产环境在这两个参数之间遇到过几次坑。这里记录下。 client_max_body_size client_max_body_size 默认 1M,表示 客户端请求服务器最大允许大小,在“Content-Length”请求头中指定。如果请求的正文数据大于client_max_body_size, ...
分类:其他好文   时间:2020-11-23 12:01:24    阅读次数:6
C++内联函数
@(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, ...
分类:编程语言   时间:2020-11-21 12:39:21    阅读次数:17
php环境下nginx超时问题解决
1.问题分析nginx访问出现504GatewayTime-out,一般是由于程序执行时间过长导致响应超时,例如程序执行需要90秒,而nginx最大响应等待时间为30秒,这样就会出现超时。通常有以下几种情况导致:(1).程序在处理大量数据,导致等待超时。(2).程序中调用外部请求,而外部请求响应超时。(3).连接数据库失败而没有停止,死循环重新连。出现这种情况,我们可以先优化程序,缩短执行时间。另
分类:Web程序   时间:2020-11-21 12:15:38    阅读次数:19
Django使用数据库实现登录
1.models.py class Users(models.Model): password = models.CharField(max_length=100,verbose_name='用户名') account = models.CharField(max_length=100,verbos ...
分类:数据库   时间:2020-11-21 12:09:40    阅读次数:11
23668条   上一页 1 ... 35 36 37 38 39 ... 2367 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!