ricehub.cpp: In function 'int main()':
ricehub.cpp:6:21: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
6 | #define scd(t) scanf("%d", &t)
| ~~~~~^~~~~~~~~~
ricehub.cpp:100:5: note: in expansion of macro 'scd'
100 | scd(r);
| ^~~
ricehub.cpp:8:23: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
8 | #define sclld(t) scanf("%lld", &t)
| ~~~~~^~~~~~~~~~~~
ricehub.cpp:101:5: note: in expansion of macro 'sclld'
101 | sclld(l);
| ^~~~~
ricehub.cpp:8:23: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
8 | #define sclld(t) scanf("%lld", &t)
| ~~~~~^~~~~~~~~~~~
ricehub.cpp:102:5: note: in expansion of macro 'sclld'
102 | sclld(b);
| ^~~~~
ricehub.cpp:8:23: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
8 | #define sclld(t) scanf("%lld", &t)
| ~~~~~^~~~~~~~~~~~
ricehub.cpp:105:18: note: in expansion of macro 'sclld'
105 | frange(i, r) sclld(vec[i]);
| ^~~~~
/usr/bin/ld: /tmp/cc9ULgrY.o: in function `main':
grader.cpp:(.text.startup+0x0): multiple definition of `main'; /tmp/ccsIKEPV.o:ricehub.cpp:(.text.startup+0x0): first defined here
/usr/bin/ld: /tmp/cc9ULgrY.o: in function `main':
grader.cpp:(.text.startup+0xae): undefined reference to `besthub(int, int, int*, long long)'
collect2: error: ld returned 1 exit status