diff --git a/1758B XOR = Average/1758B.cpp b/1758B XOR = Average/1758B.cpp new file mode 100644 index 0000000..223f41b --- /dev/null +++ b/1758B XOR = Average/1758B.cpp @@ -0,0 +1,37 @@ +#include +using namespace std; +using ll = long long; + +void solve() +{ + int n; + cin>>n; + if(n%2==0) + { + cout<<"1 3"; + for(int i=1; i<=n-2; ++i) + { + cout<<" 2"; + } + cout<> TC; + cin.ignore(); + while (TC--) solve(); +} \ No newline at end of file