In file included from /usr/include/c++/10/cassert:44,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:33,
from wiring.cpp:4:
wiring.cpp: In function 'll min_total_length(std::vector<int>, std::vector<int>)':
wiring.cpp:60:28: warning: comparison of integer expressions of different signedness: 'std::vector<long long int>::size_type' {aka 'long unsigned int'} and 'll' {aka 'long long int'} [-Wsign-compare]
60 | assert(pref[here].size() == sz+1);
| ~~~~~~~~~~~~~~~~~~^~~~~~~
wiring.cpp:19:40: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::vector<std::vector<long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
19 | #define FOR(i, a, b) for (ll i = (a); i<b; i++)
......
66 | FOR(i, 1, dp.size()) {
| ~~~~~~~~~~~~~~~
wiring.cpp:66:2: note: in expansion of macro 'FOR'
66 | FOR(i, 1, dp.size()) {
| ^~~
wiring.cpp:19:40: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
19 | #define FOR(i, a, b) for (ll i = (a); i<b; i++)
......
69 | FOR(j, 0, dp[i].size()) {
| ~~~~~~~~~~~~~~~~~~
wiring.cpp:69:3: note: in expansion of macro 'FOR'
69 | FOR(j, 0, dp[i].size()) {
| ^~~
wiring.cpp:88:10: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
88 | if (j < dp[i].size()) ckmin(dp[i][j], best + pref[i][j]);
| ~~^~~~~~~~~~~~~~
/usr/bin/ld: /tmp/ccf85kjt.o: in function `main':
grader.cpp:(.text.startup+0x0): multiple definition of `main'; /tmp/ccwt1aHv.o:wiring.cpp:(.text.startup+0x0): first defined here
collect2: error: ld returned 1 exit status