摘要: 水题一道,SOLVED只是次数的问题。map一下,就是很easy啦。#include#include#include#includeusing namespace std;char tmp[5000];int main(){ string str=" `1234567890-=QWERTYUIOP[]\\ASDFGHJKL;'ZXCVBNM,./"; map n; int i; n[' ']=' '; for(i=1;i<str.length();i++) n[str[i]]=str[i-1];while(gets(tmp)){ 阅读全文
posted @ 2014-02-05 23:20 dengyaolong 阅读(139) 评论(0) 推荐(0) 编辑