第一个博客打卡!!!

#include<iostream>
using namespace std;
int main() {
long long n;cin >> n;
if ((n - 1) % 4 == 0&&n!=1) {
for (int i = 1; i <= n/4; i++)cout << "0011";
cout << 0 << endl;
return 0;
}
else cout<<-1<<endl;
return 0;
}

posted @ 2022-10-28 18:59  Algorithm_Weaver  阅读(13)  评论(0)    收藏  举报