<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[fchange]]></title><description><![CDATA[嚯！青春]]></description><link>https://blog.csdn.net/fcfc0724</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; fcfc0724]]></copyright><item><title><![CDATA[[LeetCode]只出现一次的数字[JAVA]]]></title><link>https://blog.csdn.net/fcfc0724/article/details/82979151</link><guid>https://blog.csdn.net/fcfc0724/article/details/82979151</guid><author>fcfc0724</author><pubDate>Tue, 09 Oct 2018 10:58:48 +0800</pubDate><description><![CDATA[
只出现一次的数字
给定一个非空整数数组，除了某个元素只出现一次以外，其余每个元素均出现两次。找出那个只出现了一次的元素。
说明：
你的算法应该具有线性时间复杂度。 你可以不使用额外空间来实现吗？
示例 1:

输入: [2,2,1]
输出: 1

示例 2:

输入: [4,1,2,1,2]
输出: 4


解题思路
第一个想法是拿个哈希集合筛一遍，谁在插入前只出现过一遍便记录下来，因为这里除了...]]></description><category></category></item><item><title><![CDATA[LeetCode（75）：分类颜色 JAVA]]></title><link>https://blog.csdn.net/fcfc0724/article/details/82972195</link><guid>https://blog.csdn.net/fcfc0724/article/details/82972195</guid><author>fcfc0724</author><pubDate>Mon, 08 Oct 2018 19:00:51 +0800</pubDate><description><![CDATA[Medium！

题目描述：
给定一个包含红色、白色和蓝色，一共 n 个元素的数组，原地对它们进行排序，使得相同颜色的元素相邻，并按照红色、白色、蓝色顺序排列。
此题中，我们使用整数 0、 1 和 2 分别表示红色、白色和蓝色。
注意: 不能使用代码库中的排序函数来解决这道题。
示例:
输入: [2,0,2,1,1,0] 输出: [0,0,1,1,2,2]
进阶：

一个直观的解决方案是使用计数排...]]></description><category></category></item><item><title><![CDATA[IE会主动缓存页面及数据并对同一路径不发起请求的解决方案]]></title><link>https://blog.csdn.net/fcfc0724/article/details/80480308</link><guid>https://blog.csdn.net/fcfc0724/article/details/80480308</guid><author>fcfc0724</author><pubDate>Mon, 28 May 2018 11:45:33 +0800</pubDate><description><![CDATA[在IE客户端适配使用jQuery和fetch(用了polyfill)时，发现了一个一直不能解决的问题： 
请求同一地址，如果IE端之前又请求过这个地址，则IE不会向服务器发起请求，而是直接给予缓存中的数据。（IE还真是该操心的地方不操心，不该操心的地方使劲操心）

自认为不是很完美但却很有效的解决方案

对每个可能需要重复请求的地址后面，添加时间戳：

    url += Date.now() ...]]></description><category></category></item><item><title><![CDATA[Springboot 中出现 nvalid character found in the request target.RFC 3986的解决方案]]></title><link>https://blog.csdn.net/fcfc0724/article/details/80480025</link><guid>https://blog.csdn.net/fcfc0724/article/details/80480025</guid><author>fcfc0724</author><pubDate>Mon, 28 May 2018 11:32:43 +0800</pubDate><description><![CDATA[在使用SpringBoot和静态页面异步获取数据时，js调用端口时报400，日志查看到错误提示：nvalid character found in the request target. The valid characters are defined in RFC 3986

大概意思是字符为非3986中定义的有效字符


  RFC3986中指定了以下字符为保留字符：! * ’ ( ) ; :...]]></description><category></category></item><item><title><![CDATA[react-native图像上传时对文件大小进行限制]]></title><link>https://blog.csdn.net/fcfc0724/article/details/79643682</link><guid>https://blog.csdn.net/fcfc0724/article/details/79643682</guid><author>fcfc0724</author><pubDate>Wed, 21 Mar 2018 18:05:02 +0800</pubDate><description><![CDATA[react-native图像上传时将图像转成Base64并作大小限制后上传



背景

在做APP注册时，需要有选取图像并上传的步骤，于是便用到了react-native-image-picker,顺带一提的是它的Link很特殊，笔者是用的手动的方式才能使用的。 
使用方式是ImagePicker.showImagePicker(options, callback)。 
在使用是发现服务端返回了...]]></description><category></category></item><item><title><![CDATA[如何在Hexo中实现自适应响应式相册功能]]></title><link>https://blog.csdn.net/fcfc0724/article/details/79360489</link><guid>https://blog.csdn.net/fcfc0724/article/details/79360489</guid><author>fcfc0724</author><pubDate>Sat, 24 Feb 2018 12:07:08 +0800</pubDate><description><![CDATA[用最清晰简洁的方法整合一个响应式相册

 
 
效果

技术选型


由于我选用的主题使用了fancyBox作为图片弹出展示的框架，查看后表示很不错，能满足需要  
http://fancyapps.com/fancybox/3/
图片加载可能会太慢，所以还需要一个图片延迟加载插件 Lazyload
想使用瀑布流作为展示，粗略了解了下，便使用开源的MiniGrid，原因是它很小巧也刚好满足需求(p...]]></description><category></category></item><item><title><![CDATA[react-native中Picker的子Item获取value报错失败问题的解决方案]]></title><link>https://blog.csdn.net/fcfc0724/article/details/79224343</link><guid>https://blog.csdn.net/fcfc0724/article/details/79224343</guid><author>fcfc0724</author><pubDate>Thu, 01 Feb 2018 09:43:25 +0800</pubDate><description><![CDATA[在使用Picker时，类似下面的代码：



class Example extends Component {
    render() {
        const values = ['1', '2'];

        return (
            <Picker
                value={this.state.value}]]></description><category></category></item><item><title><![CDATA[react-native中FlatList不支持ListEmptyComponent]]></title><link>https://blog.csdn.net/fcfc0724/article/details/79220305</link><guid>https://blog.csdn.net/fcfc0724/article/details/79220305</guid><author>fcfc0724</author><pubDate>Wed, 31 Jan 2018 17:47:51 +0800</pubDate><description><![CDATA[在开发中发现： 
0.43版本的react-native中FlatList不支持ListEmptyComponent参数，但是需要实现展示列表为空时的视图。如下图 






结局方案

想尽办法都没能让它支持ListEmptyComponent，所以选择折中的方式，使用ListHeaderComponent来实现ListEmptyComponent功能:



<FlatList
    Li]]></description><category></category></item><item><title><![CDATA[React-native FlatList 组件的下拉刷新onEndReached异常]]></title><link>https://blog.csdn.net/fcfc0724/article/details/79220207</link><guid>https://blog.csdn.net/fcfc0724/article/details/79220207</guid><author>fcfc0724</author><pubDate>Wed, 31 Jan 2018 17:40:39 +0800</pubDate><description><![CDATA[在项目(React-native 0.43版本)中使用FlatList 

     onEndReachedThreshold={20} 
     onEndReached={this._handleLoadMore} 
 /> 
        遇到不能实现上拉加载更多操作的问题





解决方案

需要将onEndReachedThreshold设置为0-1， 
   如]]></description><category></category></item><item><title><![CDATA[一个  “五阶幻方”    的标准画法]]></title><link>https://blog.csdn.net/fcfc0724/article/details/49835595</link><guid>https://blog.csdn.net/fcfc0724/article/details/49835595</guid><author>fcfc0724</author><pubDate>Sat, 14 Nov 2015 14:43:21 +0800</pubDate><description><![CDATA[这次突然想画个五阶幻方，于是就随手画了个，嘿嘿


#include
#include 
int main(){
    
    int a[5][5];
    memset(a,0,sizeof(a));
    int q=25;
    int i=0,j=2,num=1;
    while(q--)
    {
        //赋值   移位   检测   矫正]]></description><category></category></item><item><title><![CDATA[【杭电】1013【 Digital Roots】   犯下的错误]]></title><link>https://blog.csdn.net/fcfc0724/article/details/48350875</link><guid>https://blog.csdn.net/fcfc0724/article/details/48350875</guid><author>fcfc0724</author><pubDate>Thu, 10 Sep 2015 21:40:13 +0800</pubDate><description><![CDATA[Digital Roots
              Time Limit: 2000/1000 MS (Java/Others)    

                 Memory Limit: 65536/32768 K (Java/Others)
Problem Description                                             ]]></description><category></category></item><item><title><![CDATA[一个简单的较实用的排序函数---QSORT]]></title><link>https://blog.csdn.net/fcfc0724/article/details/48224461</link><guid>https://blog.csdn.net/fcfc0724/article/details/48224461</guid><author>fcfc0724</author><pubDate>Sat, 05 Sep 2015 13:03:47 +0800</pubDate><description><![CDATA[日常使用还是很重要的


qsort 　　功
 能: 使用快速排序例程进行排序 　　
用 法: void qsort(void *base, int nelem, int width, int (*fcmp)(const void *,const void *)); 　　
各参数：1 待排序数组首地址 2 数组中待排序元素数量 3 各元素的占用空间大小 4 指向函数的指针
用于确定排]]></description><category></category></item><item><title><![CDATA[今天的我好心痛，调了好久的代码却一直没调好，就因为。。。。。。。。。。]]></title><link>https://blog.csdn.net/fcfc0724/article/details/47906235</link><guid>https://blog.csdn.net/fcfc0724/article/details/47906235</guid><author>fcfc0724</author><pubDate>Sun, 23 Aug 2015 15:34:06 +0800</pubDate><description><![CDATA[#include
int main()
{
    int a,b,bb,sum=0,k=0;
    while(scanf("%d",&a) != EOF && a !=0);
    {
        bb = 0; 
        sum = 0; 
        k = 0;
        while(a--)
        {
            s]]></description><category></category></item><item><title><![CDATA[csdn]]></title><link>https://blog.csdn.net/fcfc0724/article/details/46988427</link><guid>https://blog.csdn.net/fcfc0724/article/details/46988427</guid><author>fcfc0724</author><pubDate>Tue, 21 Jul 2015 16:48:22 +0800</pubDate><description><![CDATA[CSDN创立于1999年，是中国最大的IT社区和服务平台，为中国的软件开发者和IT从业者提供知识传播、职业发展、软件开发等全生命周期服务，满足他们在职业发展中学习及共享知识和信息、建立职业发展社交圈、通过软件开发实现技术商业化等刚性需求。拥有超过3000万注册会员（其中活跃会员800万）、50万注册企业及合作伙伴。

旗下拥有：

全球最大中文IT技术社区：csdn

权威IT专业技术]]></description><category></category></item></channel></rss>