From ad580fad11ecce0a3e2765d8a415f4d0da5309b4 Mon Sep 17 00:00:00 2001 From: Kirito <1362050620@qq.com> Date: Sat, 6 May 2017 03:51:52 +0800 Subject: [PATCH] Create 2159.cpp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 明明是个水题。。。果然还是好久不做题手生了半个小时才弄出来 --- POJ/2159.cpp | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 POJ/2159.cpp diff --git a/POJ/2159.cpp b/POJ/2159.cpp new file mode 100644 index 0000000..a2a2750 --- /dev/null +++ b/POJ/2159.cpp @@ -0,0 +1,46 @@ +#include +#include +#include +#include +using namespace std; + +char linea[1024]; +char lineb[1024]; + +int bina[26]; +int binb[26]; + +int main() +{ + gets(linea); + gets(lineb); + + int len=strlen(lineb); + for(int i=0;i