garden.cpp: In function 'void read(int&)':
garden.cpp:16:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
16 | for (x=0;c>='0' && c<='9';x=x*10+c-'0',c=nc()); x*=b;
| ^~~
garden.cpp:16:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
16 | for (x=0;c>='0' && c<='9';x=x*10+c-'0',c=nc()); x*=b;
| ^
garden.cpp: In function 'int main()':
garden.cpp:43:9: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
43 | freopen("t.in","r",stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~
garden.cpp:44:9: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
44 | freopen("t.out","w",stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~
/usr/bin/ld: /tmp/cczoAgAe.o: in function `main':
grader.cpp:(.text.startup+0x0): multiple definition of `main'; /tmp/cc2WVL3h.o:garden.cpp:(.text.startup+0x0): first defined here
/usr/bin/ld: /tmp/cczoAgAe.o: in function `main':
grader.cpp:(.text.startup+0x3f): undefined reference to `count_routes(int, int, int, int (*) [2], int, int*)'
collect2: error: ld returned 1 exit status