<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[22h's Blog]]></title><description><![CDATA[咸鱼不能失去梦想]]></description><link>https://blog.csdn.net/Richie_ll</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; Richie_ll]]></copyright><item><title><![CDATA[《TensorFlow：实战Google深度学习框架》遇到问题]]></title><link>https://blog.csdn.net/Richie_ll/article/details/80693321</link><guid>https://blog.csdn.net/Richie_ll/article/details/80693321</guid><author>Richie_ll</author><pubDate>Thu, 14 Jun 2018 15:18:24 +0800</pubDate><description><![CDATA[ 
         
                    



按照《TensorFlow：实战Google深度学习框架》一书学习的tensorflow，书中使用的是0.9.0版本，而我安装的是1.2.1，出现了一些问题：

 
1、使用pip安装时出现问题 
注意windows系统下安装tensorflow只能使用python3，而我习惯使用python2.7，所以改用了虚拟机Ubunt...]]></description><category></category></item><item><title><![CDATA[景驰科技面经（二轮技术面 perception组）春招最终offer选择]]></title><link>https://blog.csdn.net/Richie_ll/article/details/80473027</link><guid>https://blog.csdn.net/Richie_ll/article/details/80473027</guid><author>Richie_ll</author><pubDate>Sun, 27 May 2018 21:40:44 +0800</pubDate><description><![CDATA[之前参加了景驰的笔试（满分），后面由于人招满了所以没有给面试机会，现在被捞起来了，面试的岗位是「软件工程师 – 实习生」

景驰科技第一轮面试

面试环境：微信语音 + collabedit

大概面试前一个小时HR会建立一个微信群，然后面试开始的时候面试官会加你的微信，然后微信语音聊天和collabedit进行代码共享的方式进行面试


了解过无人驾驶吗
手撕矩阵快速幂


我的写法是封装了一个...]]></description><category></category></item><item><title><![CDATA[bigo 三轮面试面经]]></title><link>https://blog.csdn.net/Richie_ll/article/details/80375549</link><guid>https://blog.csdn.net/Richie_ll/article/details/80375549</guid><author>Richie_ll</author><pubDate>Sat, 19 May 2018 16:35:48 +0800</pubDate><description><![CDATA[5.19 bigo面试，岗位C++后台开发(广州)，面了一上午，总共面了三轮技术面，然后就没然后了，听天由命。。。

比较重要的点是笔试要认真的做，因为面试的问题基本上是针对你笔试的点一个一个问的。自己笔试做的有点粗糙，由于自己当天有事，差不多40分钟左右就交了，然后后面编程题bug有点多，然后由于基础薄弱前面选择题做的也不好，自己也没有太在意笔试，后面回去也没有好好总结，就编程题回顾了一下貌似错...]]></description><category></category></item><item><title><![CDATA[CodeForces 862A Mahmoud and Ehab and the MEX]]></title><link>https://blog.csdn.net/Richie_ll/article/details/78266247</link><guid>https://blog.csdn.net/Richie_ll/article/details/78266247</guid><author>Richie_ll</author><pubDate>Tue, 17 Oct 2017 20:59:26 +0800</pubDate><description><![CDATA[题目链接：http://codeforces.com/contest/862/problem/A 
题意：给你一个大小为n的集合，你现在有添加和删除操作，问你要经过多少操作，才能使得这个集合里，最小的没有出现的元素为x 
解析：假设给你一个空集合，那么需要的操作数是x，但是如果这个多一个小于x的元素，那么你就不用再添加了，所以操作数-1，如果有x，操作数要+1，因为要删除它#include <bit]]></description><category></category></item><item><title><![CDATA[CodeForces 876D Sorting the Coins]]></title><link>https://blog.csdn.net/Richie_ll/article/details/78262767</link><guid>https://blog.csdn.net/Richie_ll/article/details/78262767</guid><author>Richie_ll</author><pubDate>Tue, 17 Oct 2017 17:18:15 +0800</pubDate><description><![CDATA[题目链接：http://codeforces.com/contest/876/problem/D 
题意：有n个位置，有n次操作，每次操作在第p[i]位上放上一枚硬币，然后每次放上一枚硬币以后，你要从左往右扫一遍，如果一个硬币右边没有硬币，你就要把他移动到右边有硬币位置，然后在去看下一个硬币，一直重复，知道当前的所有硬币都移到最右边，问你每次操作，需要多少步才能移到最后，初始状态算一步 
解析：你只]]></description><category></category></item><item><title><![CDATA[CodeForces 876C Classroom Watch]]></title><link>https://blog.csdn.net/Richie_ll/article/details/78261950</link><guid>https://blog.csdn.net/Richie_ll/article/details/78261950</guid><author>Richie_ll</author><pubDate>Tue, 17 Oct 2017 16:28:21 +0800</pubDate><description><![CDATA[题目链接：http://codeforces.com/contest/876/problem/C 
题意：给你一个正整数n，让你找出所有的x，使得x加上x的个位数的和等于n 
解析：其实你可以理解成是x+y等于n，只是恰好y很灵性而已，如果直接找x，其实蛮难找的，但是y的范围确实有限定的，最多每一位都去9，所以你可以选择，枚举y，然后判断x是否合法即可，输出答案一定要降序！！！#include<bi]]></description><category></category></item><item><title><![CDATA[CodeForces 876B Divisiblity of Differences]]></title><link>https://blog.csdn.net/Richie_ll/article/details/78261898</link><guid>https://blog.csdn.net/Richie_ll/article/details/78261898</guid><author>Richie_ll</author><pubDate>Tue, 17 Oct 2017 16:24:50 +0800</pubDate><description><![CDATA[题目链接：http://codeforces.com/contest/876/problem/B 
题意：给你一个长度为n的序列，让你从这n个数里面，选k个数出来，这k个数中任意两个数的差，模m等于零 
解析：其实一开始没思路的，后面发现如果两个数%一个数的结果是一样的，那么相减后的结果%这个数就等于零了，那么我直接处理处每个数%m的结果，加到一个vector里，然后去判断有没有一个vector的s]]></description><category></category></item><item><title><![CDATA[CodeForces 872C Maximum splitting]]></title><link>https://blog.csdn.net/Richie_ll/article/details/78258077</link><guid>https://blog.csdn.net/Richie_ll/article/details/78258077</guid><author>Richie_ll</author><pubDate>Tue, 17 Oct 2017 10:56:36 +0800</pubDate><description><![CDATA[题目链接：http://codeforces.com/contest/872/problem/C 
题意：给你一个数n，问你他最多能划分为几种几个合数的和 
解析：打个表，找找规律。。。#include <bits/stdc++.h>
using namespace std;
int main(void)
{
    int q,n;
    scanf("%d",&q);
    while(q-]]></description><category></category></item><item><title><![CDATA[CodeForces 872B Maximum of Maximums of Minimums]]></title><link>https://blog.csdn.net/Richie_ll/article/details/78258024</link><guid>https://blog.csdn.net/Richie_ll/article/details/78258024</guid><author>Richie_ll</author><pubDate>Tue, 17 Oct 2017 10:53:48 +0800</pubDate><description><![CDATA[题目链接：http://codeforces.com/contest/872/problem/B 
题意：给你一个长度为n序列，让你把他准确分为k个子序列，让你求每个子序列的最小后，再求这些最小值中的最大值，输出那个可能的最大的最大值 
解析：如果k>=3肯定是直接输出序列的最大值，如果k==1，肯定输出序列的最小值，如果等于0，那么你只需要比较一下第一个和最后一个大小，选择大的那个输出即可，因为你]]></description><category></category></item><item><title><![CDATA[CodeForces 872A Search for Pretty Integers]]></title><link>https://blog.csdn.net/Richie_ll/article/details/78257966</link><guid>https://blog.csdn.net/Richie_ll/article/details/78257966</guid><author>Richie_ll</author><pubDate>Tue, 17 Oct 2017 10:50:15 +0800</pubDate><description><![CDATA[题目链接：http://codeforces.com/contest/872/problem/A 
题意：给你两个序列，一个长度为n的序列a，和长度为m的序列b，现在给你一个定义叫做漂亮数，漂亮数至少有一个数是来自a序列，至少有一个数来自b序列，现让你输出最小的漂亮数 
解析：有为a和b序列的范围0~9，所以最小的漂亮数一定是两位数，那你从1到100枚举一下，判断是否合法即可#include <bi]]></description><category></category></item><item><title><![CDATA[CodeForces 864E Fire]]></title><link>https://blog.csdn.net/Richie_ll/article/details/78231051</link><guid>https://blog.csdn.net/Richie_ll/article/details/78231051</guid><author>Richie_ll</author><pubDate>Fri, 13 Oct 2017 22:30:03 +0800</pubDate><description><![CDATA[题目链接：http://codeforces.com/contest/864/problem/E 
题意：现在一个房子里着火了，你要从这个房子里抢救一些东西出来，有n件物品，抢救第i件物品，需要花费ti的时间，这件物品价值为pi，如果物品超过di的时间还没有被救出来，就救不了，现在问你最大能救出的价值为多少，并且输出救了的物品的id 
解析：其实跟背包一样的，dp[j]表示j时刻救了多少价值的物品，]]></description><category></category></item><item><title><![CDATA[CodeForces 864D Make a Permutation!]]></title><link>https://blog.csdn.net/Richie_ll/article/details/78231000</link><guid>https://blog.csdn.net/Richie_ll/article/details/78231000</guid><author>Richie_ll</author><pubDate>Fri, 13 Oct 2017 22:22:54 +0800</pubDate><description><![CDATA[题目链接：http://codeforces.com/contest/864/problem/D 
题意：给你一个长度为n的数组，问你要替换几个数字，才能使得这个数组变为全排列，并且在改动最小的情况下，字典序最小的全排列 
解析：首先，因为保证了，一定在1~n里面，所以重复的数字肯定是要被替换掉的，记录一下，然后替换也是有要求的，肯定是先把小的放上去，反正就这样乱搞一下就可以了#include <b]]></description><category></category></item><item><title><![CDATA[CodeForces 864C Bus]]></title><link>https://blog.csdn.net/Richie_ll/article/details/78230950</link><guid>https://blog.csdn.net/Richie_ll/article/details/78230950</guid><author>Richie_ll</author><pubDate>Fri, 13 Oct 2017 22:16:54 +0800</pubDate><description><![CDATA[题目链接：http://codeforces.com/contest/864/problem/C 
题意：在一个一位数轴上，有一辆车，出发点在0，目标点在a，车的邮箱容量为b，加油站的位置为f，你要跑k趟，问你最少要加几次油 
解析：直接模拟吧，就是你到当前的加油点，判断当前油量能否到达下一个加油点，如果能就不加油，否则加油，如果加油都到不了，就直接输出-1#include <bits/stdc++]]></description><category></category></item><item><title><![CDATA[CodeForces 864B Polycarp and Letters]]></title><link>https://blog.csdn.net/Richie_ll/article/details/78230876</link><guid>https://blog.csdn.net/Richie_ll/article/details/78230876</guid><author>Richie_ll</author><pubDate>Fri, 13 Oct 2017 22:07:38 +0800</pubDate><description><![CDATA[题目链接：http://codeforces.com/contest/864/problem/B 
题意：给你一串长度为n的字符串（由大小写字母组成），现在这个人只喜欢小写字母，现在让你求一段最长的连续子串（全由小写字母组成，并且夹在大写字母之间）长度 
解析：从第一个大写字母开始，到第二个就更新答案，一直这样做下去#include <bits/stdc++.h>
using namespace s]]></description><category></category></item><item><title><![CDATA[CodeForces 864A Fair Game]]></title><link>https://blog.csdn.net/Richie_ll/article/details/78230840</link><guid>https://blog.csdn.net/Richie_ll/article/details/78230840</guid><author>Richie_ll</author><pubDate>Fri, 13 Oct 2017 22:03:07 +0800</pubDate><description><![CDATA[题目链接：http://codeforces.com/contest/864/problem/A 
题意：有一个游戏，给你一个长度为n的序列，两个人分别选两个数字，你选择了一个数字，你就能把这串序列的所有数字拿走，现在让你判断这个游戏是否公平，如果选完这两个数字，就把所有的数字拿走了，且两个人手上的数字个数是一样的，就称为公平游戏，否则不公平 
解析：其实说白了，就问你这个序列是否有两种数字，且个数]]></description><category></category></item><item><title><![CDATA[CodeForces 867E Buy Low Sell High]]></title><link>https://blog.csdn.net/Richie_ll/article/details/78209638</link><guid>https://blog.csdn.net/Richie_ll/article/details/78209638</guid><author>Richie_ll</author><pubDate>Wed, 11 Oct 2017 23:06:28 +0800</pubDate><description><![CDATA[题目链接：http://codeforces.com/contest/867/problem/E 
题意：有一只股票，在第i天的价格为pi，现在你每天只可以买进当天的这一股，或者卖出一股，或者什么都不做，现在问你经过你的操作以后，最多能赚多少钱 
解析：最基本遵守的肯定是低价买进高价卖出，记录到当前为止的最小的一股的价格，这一股是肯定要卖出的，只是有可能现在不一定是这时候卖出去是最优的，有可能在之后]]></description><category></category></item><item><title><![CDATA[CodeForces 867C Ordering Pizza]]></title><link>https://blog.csdn.net/Richie_ll/article/details/78209361</link><guid>https://blog.csdn.net/Richie_ll/article/details/78209361</guid><author>Richie_ll</author><pubDate>Wed, 11 Oct 2017 22:34:05 +0800</pubDate><description><![CDATA[题目链接：http://codeforces.com/contest/867/problem/C 
题意：有2种披萨，每次预定一份披萨，能把披萨分成S分，有n个人，第i个人要吃si块，吃第一种，每块披萨能增长ai的幸福值，吃第二种披萨，每块能增长bi的幸福值，现在问你能怎样预定披萨，能使得预定的披萨尽可能少，且还能满足所有人的胃口，还使得幸福值尽可能大 
解析：首先贪心的来存答案，就是每个人都吃幸福]]></description><category></category></item><item><title><![CDATA[CodeForces 867B Save the problem!]]></title><link>https://blog.csdn.net/Richie_ll/article/details/78209018</link><guid>https://blog.csdn.net/Richie_ll/article/details/78209018</guid><author>Richie_ll</author><pubDate>Wed, 11 Oct 2017 22:01:00 +0800</pubDate><description><![CDATA[题目链接：http://codeforces.com/contest/867/problem/B 
题意：有一个数n，可以被若干个数组合合成，且组合的方法数为x，现在告诉你x，让你给出n和那若干个数 
解析：之所以有那么多种方法，是因为有些数字是可以通过倍数关系来相互替代，然后1和2是可以组成全部数字的，而且两个1可以代替一个2，所以随着数字的增大，方法数也一定是增大的，所以找一下规律，逆推一下即可]]></description><category></category></item><item><title><![CDATA[CodeForces 867A Between the Offices]]></title><link>https://blog.csdn.net/Richie_ll/article/details/78208953</link><guid>https://blog.csdn.net/Richie_ll/article/details/78208953</guid><author>Richie_ll</author><pubDate>Wed, 11 Oct 2017 21:53:21 +0800</pubDate><description><![CDATA[题目链接：http://codeforces.com/contest/867/problem/A 
题意：有一个人在S和F城工作，然而这个人很喜欢从S城去F城，现在告诉你这n天，他每天所在的城市，问你他从S城去F城的次数是否总航班次数的一半多 
解析：直接统计一下航班，判断一下即可#include <bits/stdc++.h>
using namespace std;
int main(void)]]></description><category></category></item><item><title><![CDATA[CodeForces 868C Qualification Rounds]]></title><link>https://blog.csdn.net/Richie_ll/article/details/78208861</link><guid>https://blog.csdn.net/Richie_ll/article/details/78208861</guid><author>Richie_ll</author><pubDate>Wed, 11 Oct 2017 21:45:08 +0800</pubDate><description><![CDATA[题目链接：http://codeforces.com/contest/868/problem/C 
题意：有n到题目，有k支队为，每只队伍对于每到题目来说，有会(1)的有不会(0)的，现在问你能不能从这n道题里面选一套有趣的题目出来，使得每只队伍会的题目最多不超过所选题目的一半 
解析：k最多就4支队，其实对于这n道题来说，如果有解，你一定能选出两道题，有的队伍会，其他队伍不会，原因嘛，emmmm，]]></description><category></category></item></channel></rss>