harbingers.cpp: In lambda function:
harbingers.cpp:37:17: error: inconsistent types 'int' and 'long long int' deduced for lambda return type
37 | return st + f(pr[node].first, node);
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
harbingers.cpp:40:17: error: inconsistent types 'int' and 'long long int' deduced for lambda return type
40 | return st + f(pr[node].first, node);
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
harbingers.cpp:42:17: error: inconsistent types 'int' and 'long long int' deduced for lambda return type
42 | return nd + f(pr[node].first, har);
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~
harbingers.cpp: In function 'int32_t main()':
harbingers.cpp:13:10: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
13 | freopen("harbingers.in", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
harbingers.cpp:14:10: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
14 | freopen("harbingers.out", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~