码迷,mamicode.com
首页 >  
搜索关键字:uniform size    ( 49821个结果
复习类的几个基本函数
考个研真的把很多东西都忘光了,,, #include <string_view> #include <iostream> #include <string> #include <algorithm> #include <vector> using namespace std; class Sampl ...
分类:其他好文   时间:2021-04-23 12:18:50    阅读次数:0
LeetCode 198. House Robber
## 198. House RobberYou are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only co ...
分类:其他好文   时间:2021-04-23 12:11:50    阅读次数:0
__cxa_demangle
typeid操作符可以用来获取一个类型/表达式的名称: #include <iostream> #include <typeinfo> using namespace std; int main() { std::cout << typeid(int).name() << std::endl; re ...
分类:其他好文   时间:2021-04-23 12:05:50    阅读次数:0
while 循环初认识
#!/usr/bin/env python #-*- coding:utf-8 -*- num=0 while num<=10: print(num,end="\t") num +=1 print("**************************") num2=0 sum_all=0 whil ...
分类:其他好文   时间:2021-04-22 16:16:24    阅读次数:0
MongoDb问题集
一、解决SpringBoot MongoDB插入文档默认生成_class字段问题 @Configuration public class SpringMongoConfig{ @Bean public MongoTemplate mongoTemplate() throws Exception { ...
分类:数据库   时间:2021-04-22 16:06:57    阅读次数:0
Leetcode 126 127 单词接龙i&ii
i: /* * @lc app=leetcode.cn id=127 lang=cpp * * [127] 单词接龙 * * https://leetcode-cn.com/problems/word-ladder/description/ * * algorithms * Hard (45.95% ...
分类:其他好文   时间:2021-04-22 15:58:08    阅读次数:0
常用数据类型
常用的数据类型 整数类型 int 98 浮点数 float 3.14 布尔类型 bool True,False 字符串类型 str ‘我用pycharm写代码’ ...
分类:其他好文   时间:2021-04-22 15:46:17    阅读次数:0
关于给文字设置下划线,然后设置文字和下划线之间距离的样式
<view class="details"><text>给文字添加下划线</text></view> >.details { color: #409EFF; font-size: 26upx; line-height: 36upx; padding-bottom: 92upx; >text { pa ...
分类:其他好文   时间:2021-04-22 15:43:57    阅读次数:0
L1-071 前世档案 (20 分)
二进制水题~。 int n,m; int main() { cin>>n>>m; while(m--) { string s; cin>>s; int res=0; for(int i=0;i<s.size();i++) if(s[i] == 'n') res+=1<<(n-1-i); cout<< ...
分类:其他好文   时间:2021-04-22 15:39:34    阅读次数:0
leetcode765
1.记录索引交换 class Solution { public: int minSwapsCouples(vector<int>& row) { int len=row.size(); vector<int> idx(len,-1); int ret=0; for(int i=0;i<len;++ ...
分类:其他好文   时间:2021-04-22 15:12:46    阅读次数:0
49821条   上一页 1 ... 27 28 29 30 31 ... 4983 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!