toy.cpp: In function 'int main()':
toy.cpp:16:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
16 | if (!(n % i))
| ^~
toy.cpp:17:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
17 | divisors.pb(i); if (i * i != n) divisors.pb(n / i);
| ^~
toy.cpp:26:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
26 | for (int i = 1; i < divisors.size(); i++) {
| ~~^~~~~~~~~~~~~~~~~
toy.cpp:29:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
29 | for (int x = 0; x < v[j].size(); x++) {
| ~~^~~~~~~~~~~~~
toy.cpp:40:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
40 | for (int i = 0; i < v.back().size(); i++) {
| ~~^~~~~~~~~~~~~~~~~