dreaming.cpp: In function 'int travelTime(int, int, int, std::vector<int>, std::vector<int>, std::vector<int>)':
dreaming.cpp:28:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int>, std::allocator<std::pair<int, int> > >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
28 | for (int i = 0; i < ng[s].size(); i++) {
| ~~^~~~~~~~~~~~~~
/usr/bin/ld: /tmp/ccJxyILh.o: in function `main':
dreaming.cpp:(.text.startup+0x0): multiple definition of `main'; /tmp/ccFnFWJk.o:grader.c:(.text.startup+0x0): first defined here
/usr/bin/ld: /tmp/ccFnFWJk.o: in function `main':
grader.c:(.text.startup+0xd1): undefined reference to `travelTime'
collect2: error: ld returned 1 exit status