/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:11:12: error: missing template arguments before 'order'
     vector order = {0, 1, 2};
            ^~~~~
/in/foo.cc:15:26: error: 'order' was not declared in this scope
             string t = a[order[0]];
                          ^~~~~
/in/foo.cc:20:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for (int j = 0; j < t.length(); ++j)
                             ~~^~~~~~~~~~~~
/in/foo.cc:25:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for (int j = 0; j < t.length(); ++j)
                             ~~^~~~~~~~~~~~
/in/foo.cc:34:26: error: 'order' was not declared in this scope
         next_permutation(order.begin(), order.end());
                          ^~~~~

信息

递交者
类型
递交
题目
P1449 字符串还原
语言
C++
递交时间
2024-10-26 22:11:01
评测时间
2024-10-26 22:11:01
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes