虫虫首页| 资源下载| 资源专辑| 精品软件
登录| 注册

SErial-Input

  • 词典 Time Limit:3000MS Memory Limit:65536K Total Submit:2349 Accepted:603 Description 你旅游到了一个国

    词典 Time Limit:3000MS Memory Limit:65536K Total Submit:2349 Accepted:603 Description 你旅游到了一个国外的城市。那里的人们说的外国语言你不能理解。不过幸运的是,你有一本词典可以帮助你。 Input 首先输入一个词典,词典中包含不超过100000个词条,每个词条占据一行。每一个词条包括一个英文单词和一个外语单词,两个单词之间用一个空格隔开。而且在词典中不会有某个外语单词出现超过两次。词典之后是一个空行,然后给出一个由外语单词组成的文档,文档不超过100000行,而且每行只包括一个外语单词。输入中出现单词只包括小写字母,而且长度不会超过10。 Output 在输出中,你需要把输入文档翻译成英文,每行输出一个英文单词。如果某个外语单词不在词典中,就把这个单词翻译成“eh”。 Sample Input dog ogday cat atcay pig igpay froot ootfray loops oopslay atcay ittenkay oopslay Sample Output cat eh loops Hint 输入比较大,推荐使用C语言的I / O函数。

    标签: Limit Description Accepted 65536K

    上传时间: 2016-02-22

    上传用户:fandeshun

  • /***************************************************************************************************

    /*************************************************************************************************** The 4×4-keyboard drivers *COMPANY NAME: WUYI UNIVERSITY *MODULE NAME: Keyboard drivers *WRITTEN BY: Pang Weicong *FUNCTION DESCRIPTION: Keyboard input processing *EDITION: The first edition V1.0 *DATE: 2007-04-16 *Copyright: (c)2007 Pang Weicong **************************************************************************************************/

    标签:

    上传时间: 2014-01-05

    上传用户:xiaodu1124

  • NAME Control_AT24Cxx This collection of routines allows an AT89C2051 microcontroller to read a

    NAME Control_AT24Cxx This collection of routines allows an AT89C2051 microcontroller to read and write the AT24Cxx family of serial CMOS EEPROMS. This version of the code is compatible only with the AT89C2051 due to the location of the data buffer and stack in RAM. The code may be modified to work with the AT89C1051 by relocating or resizing the buffer and stack to fit into the smaller amount of RAM available in the AT89C1051. Note that the minimum size of the buffer is determined by the page size of the AT24Cxx.

    标签: microcontroller Control_AT collection routines

    上传时间: 2013-12-13

    上传用户:asddsd

  • 2001年春季的IDF上Intel正式公布PCI Express

    2001年春季的IDF上Intel正式公布PCI Express,是取代PCI总线的第三代I\O技术,也称为3GIO。该总线的规范由Intel支持的AWG(Arapahoe Working Group)负责制定。2002 年4月17日,AWG正式宣布3GIO 1.0规范草稿制定完毕,并移交PCI-SIG进行审核。开始的时候大家都以为它会被命名为Serial PCI(受到串行ATA的影响),但最后却被正式命名为PCI Express。2006年正式推出Spec2.0(2.0规范)

    标签: Express Intel 2001 IDF

    上传时间: 2013-12-19

    上传用户:hgy9473

  • 很好的搜索: 给你很多长度不定的木棒

    很好的搜索: 给你很多长度不定的木棒,将他们分成几组,每组中的总长度作为这组的标示值,请给出一种分组方法,能使得所有标示值中的最小值最大。 Input 多组,每组两行,第一行是一个N和K,代表有N根木棒,分成K组,第二行是N个数字,代表木棒的长度。(N不超过100,K不超过20,每根木棒长度不超过1000) Output 输出所有标示值中的最小值的最大值。 Sample Input 5 3 1 3 5 7 9 5 3 89 59 68 35 29 Sample Output 8 89

    标签: 搜索 长度

    上传时间: 2013-12-23

    上传用户:nairui21

  • 简单的floyd运用 第一行输入一个整数C。C是测试的情况(0< C <=30).第二行一个正整数N( 0< N <=100),表示道路的总数.紧接N行

    简单的floyd运用 第一行输入一个整数C。C是测试的情况(0< C <=30).第二行一个正整数N( 0< N <=100),表示道路的总数.紧接N行,每一行包含两个字符串, Si,,Ti,和一个整数Di,代表从Si到Ti的距离(0<= Di <=150)。最后一行有两个字符串,S 和 T,你得找出从S 到 T的最短的距离。地名是不超过120个小写字符的串(从‘a’到‘z’)。假设这里最多有100条直接连通两个地方的路。 Output 输出包含C行,每一行对一种测试情况。对每一种测试情况,输出包含一个整数,假如S 到 T存在一条最短的路,输出从S到T的最短距离,否则输出“-1”. Sample Input 2 2 jiuzhouriver liuchi 89 liuchi liyuan 100 liuchi jiuzhouriver 3 youyongchi fengyuan 100 qinshi meiyuan 100 chaochang supermarkt 100 meiyuan youyongchi Sample Output 89 -1

    标签: lt floyd 100 整数

    上传时间: 2016-03-10

    上传用户:wyc199288

  • EverMore company to a GM-X205GPS accept modules as an example, its data formats, as well as applicat

    EverMore company to a GM-X205GPS accept modules as an example, its data formats, as well as application PIC16F874 microcontroller RS232 serial data receiver procedures.

    标签: EverMore as applicat company

    上传时间: 2016-03-10

    上传用户:tuilp1a

  • 工具:Dynamips, VPCS 结点: R1: 10.0.0.0/8, 90.0.0.0/8 R2: 20.0.0.0/8, 90.0.0.0/8 R3: 30.0.0.0/8, 90.0

    工具:Dynamips, VPCS 结点: R1: 10.0.0.0/8, 90.0.0.0/8 R2: 20.0.0.0/8, 90.0.0.0/8 R3: 30.0.0.0/8, 90.0.0.0/8 H1: 10.0.0.2 H2: 20.0.0.2 H3: 30.0.0.2 要求: R1,R2,R3之间直接用串口(serial) 相连,采用X.25封装。 分配给串口的X.25地址不作限制。 目的:使得H1,H2,H3可以在IP层互通

    标签: Dynamips 90 90.0 VPCS

    上传时间: 2016-03-10

    上传用户:杜莹12345

  • SED1335驱动320x240图形液晶驱动演示程序 接口情况表述: No: LCM ----- 52 --------------------- 1...VSS..... GND

    SED1335驱动320x240图形液晶驱动演示程序 接口情况表述: No: LCM ----- 52 --------------------- 1...VSS..... GND 地线 2...VDD..... +5V(VCC) 电源 3...VO ..... -Vadj Input 对比度负压调整输入 4...A0 ..... P2.0 寄存器选择信号,命令数据方式选择 5.../WR..... WR 写有效 6.../RD..... RD 读有效 7...D0 ..... P0.0 数据总线 D0 8...D1 ..... P0.1 数据总线 D1 9...D2 ..... P0.2 数据总线 D2 10..D3 ..... P0.3 数据总线 D3 11..D4 ..... P0.4 数据总线 D4 12..D5 ..... P0.5 数据总线 D5 13..D6 ..... P0.6 数据总线 D6 14..D7 ..... P0.7 数据总线 D7 15../CS .... GND 片选通信号,低电平有效.实际使用应编入地址 16../RES.... /RESET 复位信号,低电平有效,阻容式复位电路 17..VEE..... -Vout 逆变-22.5V 负电压输出 18..VSS..... GND 地线 0V

    标签: 320x240 1335 SED LCM

    上传时间: 2013-12-22

    上传用户:redmoons

  • 模拟实现spooling技术 一个用C做的假脱机SPOOLING输入程序

    模拟实现spooling技术 一个用C做的假脱机SPOOLING输入程序,是操作系统实验来的,-do spooling SPOOLING input program is the experimental operating system

    标签: spooling SPOOLING 模拟 脱机

    上传时间: 2013-12-15

    上传用户:思琦琦