hotspot.cpp: In function 'int32_t main()':
hotspot.cpp:62:35: error: cannot convert 'long double*' to 'long long int*'
62 | Dijkstra(u, dist[0], cnt[0]);
| ~~~~~^
| |
| long double*
hotspot.cpp:22:37: note: initializing argument 3 of 'void Dijkstra(int, int*, long long int*)'
22 | void Dijkstra(int u, int* dist, ll* cnt) {
| ^
hotspot.cpp:63:35: error: cannot convert 'long double*' to 'long long int*'
63 | Dijkstra(v, dist[1], cnt[1]);
| ~~~~~^
| |
| long double*
hotspot.cpp:22:37: note: initializing argument 3 of 'void Dijkstra(int, int*, long long int*)'
22 | void Dijkstra(int u, int* dist, ll* cnt) {
| ^
hotspot.cpp:49:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
49 | freopen("NOI17_hotspot.inp", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hotspot.cpp:50:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
50 | freopen("NOI17_hotspot.out", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~