摘要:
水题一道,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)){ 阅读全文