LeetCode C++ compilation error for all problems that worked yesterday (other languages seem fine)

Some problems compile, but some doesn't. Example of problem that doesn't compile and was compiling yesterday:
https://leetcode.com/problems/next-permutation/

Errors are like this:

Line 35: Char 17: fatal error: no matching member function for call to 'resize'
param_1.resize();

/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/stl_vector.h:824:7: note: candidate function not viable: requires single argument 'new_size', but no arguments were provided
resize(size_type new_size)
^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/stl_vector.h:844:7: note: candidate function not viable: requires 2 arguments, but 0 were provided
resize(size_type new_size, const value_type& x)
^
1 error generated**

Comments (0)