11 Felven

尚未进行身份认证

我就不告诉你,我就不告诉你(有节奏)

等级
TA的排名 132

A. Another One Bites The Dust

timelimitpertest1secondmemorylimitpertest256megabytesinputstandardinputoutputstandardoutputLet'scallastringgoodifandonlyifitconsistsofonlytwotypesofletters—...

2019-11-12 20:59:54

A. Payment Without Change

time limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou haveaacoins of valuennandbbcoins of value11. You always pay in exact cha...

2019-11-11 10:27:28

B1. Books Exchange (easy version)

time limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe only difference between easy and hard versions is constraints.There arennki...

2019-11-07 21:46:34

A. Stones

timelimitpertest1secondmemorylimitpertest256megabytesinputstandardinputoutputstandardoutputAliceisplayingwithsomestones.Nowtherearethreenumberedheapsofstones.T...

2019-10-27 17:20:02

A. 2048 Game

time limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are playing a variation of game2048. Initially you have a multisetssofnnin...

2019-10-27 17:16:26

A. Prefixes

time limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputNikolay got a stringssofevenlengthnn, which consists only of lowercase Latin l...

2019-10-27 17:02:22

A. Yet Another Dividing into Teams

timelimitpertest1secondmemorylimitpertest256megabytesinputstandardinputoutputstandardoutputYouareacoachofagroupconsistingofnnstudents.Theii-thstudenthasprogram...

2019-10-25 22:22:57

使用apt-mirror在Ubuntu18.04(.2)创建本地软件源

前言基于Ubuntu的开发环境,一般需要开发者在连接互联网的情况下从Ubuntu官方软件源(Main/China/USA)下载和更新需要使用的软件包(deb)。当前公司的工作环境,工作计算机不能够访问外网。故需要预先将官方软件源内容全部下载,导入公司的内网,在内网中创建本地软件源。简介本文将介绍在Ubuntu18.04(.2)中如何使用脚本工具apt-mirror创建一个本地...

2019-10-25 18:19:44

Zynq-Linux移植学习笔记之43-linux下应用读写I2C设备

在读写I2C设备时,由于I2C地址分为7bit和10bit,读写时序存在区别,因此应用程序也存在区别。首先来看读写时序对比,这里以写为例:可以看出从设备地址分成了两次进行传输。于是应用程序可以这样修改。首先是7位模式下对某设备寄存器的读写:#include<sys/types.h>#include<sys/stat.h>#inclu...

2019-10-23 21:51:50

A. Pens and Pencils

timelimitpertest1secondmemorylimitpertest256megabytesinputstandardinputoutputstandardoutputTomorrowisadifficultdayforPolycarp:hehastoattendaalecturesandbbpract...

2019-10-20 18:15:01

A. CME

timelimitpertest1secondmemorylimitpertest256megabytesinputstandardinputoutputstandardoutputLet'sdenotecorrectmatchequation(wewilldenoteitasCME)anequationa+b=ca+b...

2019-10-20 17:59:38

B1. Social Network (easy version)

timelimitpertest2secondsmemorylimitpertest256megabytesinputstandardinputoutputstandardoutputTheonlydifferencebetweeneasyandhardversionsareconstraintsonnnandkk....

2019-10-19 20:56:31

A. Prime Subtraction

timelimitpertest2secondsmemorylimitpertest256megabytesinputstandardinputoutputstandardoutputYouaregiventwointegersxxandyy(itisguaranteedthatx>yx>y).Youmay...

2019-10-19 20:45:30

A. Distinct Digits

timelimitpertest1secondmemorylimitpertest256megabytesinputstandardinputoutputstandardoutputYouhavetwointegersllandrr.Findanintegerxxwhichsatisfiestheconditions...

2019-10-19 20:39:39

A. Equalize Prices Again

time limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are both a shop keeper and a shop assistant at a small nearby shop. You havenn...

2019-10-19 20:35:18

ZYNQ使用PL部分IIC收发数测试

1、背景介绍ZYNQ在PS部分有两路I2C,但有时候存在不够用的情况,这时就需要使用PL部分的I2CIP核(以下简称AXII2C)。关于该IP核的信息可以参考XILINX官方的datasheet,不过在使用AXII2C时需要进行修改才能够正确进行收发数。2、硬件配置如下图所示,需要在PL部分添加AXII2C,注意这里直接把中断信号连入ZYNQPS部分的IRQ在ZYNQ...

2019-10-12 21:30:12

Zynq-Linux移植学习笔记之42-linux下用户应用读写PS部分GPIO

1、背景介绍因项目需要,在zynq中使用了PS部分的GPIO,通过GPIO的PIN来控制板上部分器件的上下电。之前是直接在板子上电时UBOOT中对所有的GPIOPIN进行了初始化配置,对所有控制器件进行上下电。如下图:这里使用了GPIO的54开始的16个Pin。如今用户希望在linux系统下通过应用程序来控制,这就涉及到APP,驱动和硬件三方面的配合。2、内核设置GPIO...

2019-10-12 20:45:17

B. Ania and Minimizing

timelimitpertest1secondmemorylimitpertest256megabytesinputstandardinputoutputstandardoutputAniahasalargeintegerSS.Itsdecimalrepresentationhaslengthnnanddoesn'tc...

2019-10-01 15:12:15

A. City Day

time limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputFor years, the Day of city N was held in the most rainy day of summer. New mayor de...

2019-10-01 15:06:07

A. Cards

time limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputWhen Serezha was three years old, he was given a set of cards with letters for his...

2019-09-28 20:15:34

查看更多

勋章 我的勋章
  • 签到新秀
    签到新秀
    累计签到获取,不积跬步,无以至千里,继续坚持!
  • 持之以恒
    持之以恒
    授予每个自然月内发布4篇或4篇以上原创或翻译IT博文的用户。不积跬步无以至千里,不积小流无以成江海,程序人生的精彩需要坚持不懈地积累!
  • 1024超级勋章
    1024超级勋章
    授予原创文章总数达到1024篇的博主,感谢你对CSDN社区的贡献,CSDN与你一起成长。
  • 勤写标兵Lv2
    勤写标兵Lv2
    授予每个自然周发布4篇到6篇原创IT博文的用户。本勋章将于次周周三上午根据用户上周的博文发布情况由系统自动颁发。