词典 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
AutoBoot is a generic boot loader that automatically locates, loads, and executes object files from multiple types of media. AutoBoot provides a simple, fast, and functional means of loading an OS image while maintaining a small Flash memory footprint. This binary release contains a stand-alone version of AutoBoot for the DbAu1200 development board, designed to replace the YAMON boot loader.
标签: automatically AutoBoot executes generic
上传时间: 2014-01-14
上传用户:海陆空653
out< "please input the number of the nodes"<<endl cin>>nodesNum cout<<"please input the graph"<<endl for( i = 1 i<=nodesNum i++) for( j = 1 j <= nodesNum j++) cin>>graph[i][j] */
上传时间: 2013-11-29
上传用户:libinxny
This program generates a color signal as the input signal and a desired signal of the idetification plant
标签: signal idetification generates the
上传时间: 2013-12-29
上传用户:epson850
This program generates a input signal and a desired signal of the idetification plant
标签: signal idetification generates program
上传时间: 2014-01-23
上传用户:shawvi
A test program for PUCUSB project, there is a UARTOUT program, which can output RS232 BAUD 19200,n81 signal
标签: program UARTOUT project PUCUSB
上传时间: 2016-03-02
上传用户:zhanditian
Summary Many control applications require converting some analog input to a digital format. The ADCINC12 User Module is a general-purpose, 12-bit analog to digital converter (ADC) that does just that. This Application Note is meant to be a simple introduction into its operation. The steps required to define, place, and write software are presented. Examples are developed in both assembly and C.
标签: applications converting Summary control
上传时间: 2013-12-01
上传用户:WMC_geophy
vga verilog codes which design a pong game and output to vga monitor
标签: vga verilog monitor design
上传时间: 2013-12-31
上传用户:牛布牛
verilog code which receive from uart RX and then output to lcd text display.
标签: verilog receive display output
上传时间: 2016-03-07
上传用户:songrui
ST7920 LCD driver source code, which include the LCD init and output the string to LCD.
上传时间: 2016-03-08
上传用户:lepoke