https://codeforces.com/contest/1734/problem/B


문제에서는 자꾸 틀렸다고 나와서 어느 부분에서 틀렸는지 봐주실수 있나요?

#include <iostream> #include <vector> using namespace std; int main() {     int t, n;     cin >> t;     for (int i = 0; i < t; i++) {         vector<string> vc;         string str;         cin >> n;         for (int j = n; j > 0; j--) {             str = "1";             for (int k = 0; k < n - j - 1; k++) {                 str += "0";             }             if (j != n) str += "1";             vc.push_back(str);         }         for (auto j : vc) {             cout << j << endl;         }     } }