From 5320c6648ffd284bcbff63994811473c91337164 Mon Sep 17 00:00:00 2001 From: Kirito <1362050620@qq.com> Date: Sun, 10 Apr 2016 17:34:40 +0800 Subject: [PATCH] Create 1263.cpp --- QUSTOJ/1263.cpp | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 QUSTOJ/1263.cpp diff --git a/QUSTOJ/1263.cpp b/QUSTOJ/1263.cpp new file mode 100644 index 0000000..1f18c81 --- /dev/null +++ b/QUSTOJ/1263.cpp @@ -0,0 +1,29 @@ +#include +#include +#include +#include +using namespace std; + +int main() +{ + int n,i; + string str; + while(cin>>n) + { + const int LEN=sizeof(int)*8; + bitset a(n); + ostringstream p; + p<