worst_reporter2.cpp: In function 'void solve()':
worst_reporter2.cpp:44:21: error: 'mp' was not declared in this scope; did you mean 'mx'?
44 | mp[i][to] = 0;
| ^~
| mx
worst_reporter2.cpp:46:21: error: 'mp' was not declared in this scope; did you mean 'mx'?
46 | mp[i][to] = c[i];
| ^~
| mx
worst_reporter2.cpp:54:37: error: 'mp' was not declared in this scope; did you mean 'mx'?
54 | d[to] = min(d[to] , mp[to][it]) ,s += d[to];
| ^~
| mx
worst_reporter2.cpp:56:17: error: 'mp' was not declared in this scope; did you mean 'mx'?
56 | mp[i][it] = s ;
| ^~
| mx
worst_reporter2.cpp:58:17: error: 'mp' was not declared in this scope; did you mean 'mx'?
58 | mp[i][it] = c[i] + s;
| ^~
| mx
worst_reporter2.cpp:59:22: error: 'mp' was not declared in this scope; did you mean 'mx'?
59 | if(i == 1 && mp[i][it] < mn)
| ^~
| mx
worst_reporter2.cpp:30:8: warning: unused variable 'q' [-Wunused-variable]
30 | ll q , i , j , m ,n, z ,s = 0 , f , l , r , k , x , y , mn = 1e18 , mx = 0;
| ^
worst_reporter2.cpp:30:16: warning: unused variable 'j' [-Wunused-variable]
30 | ll q , i , j , m ,n, z ,s = 0 , f , l , r , k , x , y , mn = 1e18 , mx = 0;
| ^
worst_reporter2.cpp:30:20: warning: unused variable 'm' [-Wunused-variable]
30 | ll q , i , j , m ,n, z ,s = 0 , f , l , r , k , x , y , mn = 1e18 , mx = 0;
| ^
worst_reporter2.cpp:30:26: warning: unused variable 'z' [-Wunused-variable]
30 | ll q , i , j , m ,n, z ,s = 0 , f , l , r , k , x , y , mn = 1e18 , mx = 0;
| ^
worst_reporter2.cpp:30:37: warning: unused variable 'f' [-Wunused-variable]
30 | ll q , i , j , m ,n, z ,s = 0 , f , l , r , k , x , y , mn = 1e18 , mx = 0;
| ^
worst_reporter2.cpp:30:41: warning: unused variable 'l' [-Wunused-variable]
30 | ll q , i , j , m ,n, z ,s = 0 , f , l , r , k , x , y , mn = 1e18 , mx = 0;
| ^
worst_reporter2.cpp:30:45: warning: unused variable 'r' [-Wunused-variable]
30 | ll q , i , j , m ,n, z ,s = 0 , f , l , r , k , x , y , mn = 1e18 , mx = 0;
| ^
worst_reporter2.cpp:30:49: warning: unused variable 'k' [-Wunused-variable]
30 | ll q , i , j , m ,n, z ,s = 0 , f , l , r , k , x , y , mn = 1e18 , mx = 0;
| ^
worst_reporter2.cpp:30:53: warning: unused variable 'x' [-Wunused-variable]
30 | ll q , i , j , m ,n, z ,s = 0 , f , l , r , k , x , y , mn = 1e18 , mx = 0;
| ^
worst_reporter2.cpp:30:57: warning: unused variable 'y' [-Wunused-variable]
30 | ll q , i , j , m ,n, z ,s = 0 , f , l , r , k , x , y , mn = 1e18 , mx = 0;
| ^
worst_reporter2.cpp:30:74: warning: unused variable 'mx' [-Wunused-variable]
30 | ll q , i , j , m ,n, z ,s = 0 , f , l , r , k , x , y , mn = 1e18 , mx = 0;
| ^~
worst_reporter2.cpp: In function 'int main()':
worst_reporter2.cpp:70:13: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
70 | freopen("input.txt", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
worst_reporter2.cpp:71:13: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
71 | freopen("output.txt", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~