From 32cafdfadc65d95764d5c32d6d113a6f636c2a68 Mon Sep 17 00:00:00 2001 From: KiritoTRw <3021577574@qq.com> Date: Sun, 1 May 2016 14:31:33 +0800 Subject: [PATCH] Create 1641.cpp --- QUSTOJ/1641.cpp | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 QUSTOJ/1641.cpp diff --git a/QUSTOJ/1641.cpp b/QUSTOJ/1641.cpp new file mode 100644 index 0000000..120c906 --- /dev/null +++ b/QUSTOJ/1641.cpp @@ -0,0 +1,38 @@ +#include +#include +#include +using namespace std; +//WTF!!! I still have to use this function! +int strlenx(const char* inc) +{ + int i=0; + while(inc[i]!='\0') i++; + return i; +} +const char* keyboard="`1234567890-=~!@#$%^&*()_+QWERTYUIOP[]\\ASDFGHJKL;'ZXCVBNM,./M<>?L:\"P{}|"; +char change(char inc) +{ + int i; + int len=strlenx(keyboard); + for(i=0;i