From 9e293e33f513a8ab3db4e96fd1ec1a0edb3813c2 Mon Sep 17 00:00:00 2001 From: Kirito <1362050620@qq.com> Date: Wed, 11 May 2016 20:40:07 +0800 Subject: [PATCH] Create 1002.cpp --- BestCoder/AStar-PRE/1002.cpp | 55 ++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 BestCoder/AStar-PRE/1002.cpp diff --git a/BestCoder/AStar-PRE/1002.cpp b/BestCoder/AStar-PRE/1002.cpp new file mode 100644 index 0000000..0d8a61f --- /dev/null +++ b/BestCoder/AStar-PRE/1002.cpp @@ -0,0 +1,55 @@ +#include +#include +#include +using namespace std; +inline void bzero(void* ptr,size_t size) +{ + memset(ptr,0,size); +} +char msg[102400]; +char ans[102400]; +int cnt=0; + +int main() +{ + int key; + int turn; + scanf("%d%*c",&turn); + for(int tt=0;tt