【MemSQL Start[c]UP 3.0 - Round 1 B】 Lazy Security Guard
Security round 3.0 start Up lazy Guard
2023-09-14 09:03:49 时间
【链接】h在这里写链接
【题意】
围成对应面积的方块最少需要多少条边。
【题解】
有特定的公式的。
2*ceil(2*根号下(n));
->
自己找下规律也很简单的。
【错的次数】
0
【反思】
在这了写反思
【代码】
#include <bits/stdc++.h> using namespace std; int n; int main(){ //freopen("F:\\rush.txt","r",stdin); ios::sync_with_stdio(0),cin.tie(0); cin >> n; cout << 2*ceil(2*sqrt(n)) << endl; return 0; }
相关文章
- Spring Cloud实战|4.SpringCloud 整合security.实现认证中心
- SpringBoot-Security 具体案例、 实现安全框架、权限控制、aop切入
- Spring Security安全框架中BCrypt强哈希加密算法使用
- 分布式系统开发实战:基于Spring Security实现安全认证
- Spring Security 和 Shiro 该如何选择?
- Spring Security 实战干货:OAuth2登录获取Token的核心逻辑
- Spring Security的基本概念和特点
- 安装和配置Spring Cloud Security
- Spring Cloud Security使用Spring Cloud Config集中管理安全配置
- Spring Security访问控制详解编程语言
- Exploring the Benefits of TC and Linux Together: Boosting Network Performance and Security.(tclinux)
- 构建安全访问使用 Oracle Certificate Security 证书(ocs证书 oracle)