栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 面试经验 > 面试问答

zoj 3883 Scan Code

面试问答 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

zoj 3883 Scan Code

Edward is writing an editor. After he wrote the function to get input from his special keyboard, he found that what he got is scan pre, instead of ASCII pre. He is very busy, so he gives you the easy task, translate the scan pre to a string.The scan pre is very simple, when you press a key, the keyboard will send a make pre of this key to computer (if you press the key for a long time, keyboard will send the make pre to computer many times), and when you release a key, the keyboard will send a brake pre of this key to computer. When computer received a make pre, a character or function for the key will do on the editor (Caps Lock is off at the beginning) excepted the Caps Lock key (do the function when press the key).InputInput will consist of multiple test cases.Each case has one line, the scan pre received from keyboard in Hex (scan pre table is at Hint section), the length is less than or equal to 1000000.Input's validation is guaranteed.OutputFor each case, output the string on the editor and put a newline at the end.Sample input16F0161216F016F01216F0161612F016F012Sample output1!11http://en.wikipedia.org/wiki/ScanpreHere is the scan pre table:Scan Code TableAuthor: LU, YiSource: ZOJ Monthly, July 2015
转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/374292.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号