0_0_39653983_16896.cpp:1:1: error: 'vector' does not name a type
1 | vector<int> factor_small(int x)
| ^~~~~~
0_0_39653983_16896.cpp: In function 'int main()':
0_0_39653983_16896.cpp:18:1: error: 'ios' has not been declared
18 | ios::sync_with_stdio(0);
| ^~~
0_0_39653983_16896.cpp:19:1: error: 'cin' was not declared in this scope
19 | cin.tie(0);
| ^~~
0_0_39653983_16896.cpp:20:1: error: 'solve' was not declared in this scope
20 | solve();
| ^~~~~
0_0_39653983_16896.cpp:25:5: error: 'll' was not declared in this scope
25 | ll n, m;
| ^~
0_0_39653983_16896.cpp:26:12: error: 'n' was not declared in this scope
26 | cin >> n >> m;
| ^
0_0_39653983_16896.cpp:26:17: error: 'm' was not declared in this scope
26 | cin >> n >> m;
| ^
0_0_39653983_16896.cpp:27:9: error: '__gcd' was not declared in this scope
27 | if (__gcd(n, m) != 1){
| ^~~~~
0_0_39653983_16896.cpp:28:9: error: 'cout' was not declared in this scope
28 | cout << "0\n";
| ^~~~
0_0_39653983_16896.cpp:31:17: error: 'abs' was not declared in this scope
31 | int x = abs(n - m);
| ^~~
0_0_39653983_16896.cpp:33:13: error: 'cout' was not declared in this scope
33 | cout << "-1\n";
| ^~~~
0_0_39653983_16896.cpp:36:19: error: expected ';' before 'ans'
36 | ll ans = 1e15;
| ^~~~
| ;
0_0_39653983_16896.cpp:36:31: error: expected '}' at end of input
36 | ll ans = 1e15;
| ^
0_0_39653983_16896.cpp:35:55: note: to match this '{'
35 | } else{
| ^
0_0_39653983_16896.cpp:36:31: error: expected '}' at end of input
36 | ll ans = 1e15;
| ^
0_0_39653983_16896.cpp:30:11: note: to match this '{'
30 | } else{
| ^
0_0_39653983_16896.cpp:36:31: error: expected '}' at end of input
36 | ll ans = 1e15;
| ^
0_0_39653983_16896.cpp:24:1: note: to match this '{'
24 | {
| ^
0_0_39653983_16896.cpp:36:31: error: expected '}' at end of input
36 | ll ans = 1e15;
| ^
0_0_39653983_16896.cpp:17:1: note: to match this '{'
17 | {
| ^
|