自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(12)
  • 收藏
  • 关注

原创 1031-1034

1031. Hello World for U (20)Given any string of N (>=5) characters, you are asked to form the characters into the shape of U. For example, “helloworld” can be printed as:h d e l l r lowo That is

2017-12-01 15:54:50 254

原创 pat 甲级 1027-1030

1027. Colors in Mars (20)People in Mars represent the colors in their computers in a similar way as the Earth people. That is, a color is represented by a 6-digit number, where the first 2 digits are

2017-11-28 22:06:09 283

原创 pat 甲级 1023-1026

1023. Have Fun with Numbers (20)Notice that the number 123456789 is a 9-digit number consisting exactly the numbers from 1 to 9, with no duplication. Double it we will obtain 246913578, which happens t

2017-11-28 22:04:55 225

原创 pat 甲级 1019 - 1022

1019. General Palindromic Number (20)A number that will be the same when it is written forwards or backwards is known as a Palindromic Number. For example, 1234321 is a palindromic number. All single d

2017-11-28 22:04:12 269

原创 1017-1018

1017. Queueing at Bank (25)Suppose a bank has K windows open for service. There is a yellow line in front of the windows which devides the waiting area into two parts. All the customers have to wait in

2017-11-28 22:03:15 190

原创 1013-1016

1013. Battle Over Cities (25)It is vitally important to have all the cities connected by highways in a war. If a city is occupied by the enemy, all the highways from/toward that city are closed. We mus

2017-11-08 22:07:26 222

原创 第一个tensorflow小程序——异或门实现

代码:#author@chengxiaonaimport tensorflow as tfimport numpy as np#输入训练数据,这里是python的list, 也可以定义为numpy的ndarrayx_data = [[1., 0.], [0., 1.], [0., 0.], [1., 1.]] #定义占位符,占位符在运行图的时候必须feed数据x = tf.placehol

2017-10-15 16:32:25 4165

原创 1009-1012

1009. Product of Polynomials (25)This time, you are supposed to find A*B where A and B are two polynomials.Input Specification:Each input file contains one test case. Each case occupies 2 lines, and ea

2017-10-11 16:08:25 337

原创 PAT甲级1005-1008

1005. Spell It Right (20)Given a non-negative integer N, your task is to compute the sum of all the digits of N, and output every digit of the sum in English.Input Specification:Each input file contain

2017-10-09 21:00:57 419

原创 PAT甲级1001-1004

pat甲级 1001-1004代码及分析

2017-10-09 20:44:50 382

原创 ubuntu16.04_tensorflow_gpu加速_源码安装笔记

版本说明:Ubuntu16.04 64位,显卡gtx1080, cuda_8.0, cudnn7.0, tensorflow+_1.3,下面具体说明安装方法。Ubuntu16.04安装UltroISO刻录U盘,开机进BIOS选择U盘启动,按照步骤直接安装,不再赘述。cuda_8.0安装一般有.runfile和.deb安装两种方式,本文采用较简单的.deb安装方式。 nvidia官方安装教程 安装

2017-09-24 21:30:12 317

原创 ubuntu操作

U盘挂载sudo -i 进入root模式(exit或logout可以退出该模式);fdisk -l查看磁盘信息,找到U盘,一般为FAT或者NTFS格式;mount -t vfat /dev/sdb4*(U盘)* /mnt/usb*(挂载位置)*挂载U盘umount /dev/sdb4或者umout /mnt/usb均可卸载U盘,两个命令等价,注意不可以在挂载目录下卸载,否则会显示设备忙。

2017-08-08 13:22:29 202

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除