| Problem | dijkstra |
|---|---|
| User | aliceting2021 |
| Submission Time | 2026-08-01 09:48:25 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
dijkstra.cpp: In function ‘int main()’:
dijkstra.cpp:14:36: error: expected identifier before numeric constant
14 | for(int i=1; i<N; i++) dist[i] = [2e9 + 5];
| ^~~
dijkstra.cpp: In lambda function:
dijkstra.cpp:14:44: error: expected ‘{’ before ‘;’ token
14 | for(int i=1; i<N; i++) dist[i] = [2e9 + 5];
| ^
dijkstra.cpp: In function ‘int main()’:
dijkstra.cpp:14:44: error: invalid user-defined conversion from ‘main()::<lambda()>’ to ‘int’ [-fpermissive]
dijkstra.cpp:14:35: note: candidate is: ‘constexpr main()::<lambda()>::operator void (*)()() const’ <near match>
14 | for(int i=1; i<N; i++) dist[i] = [2e9 + 5];
| ^
dijkstra.cpp:14:35: note: no known conversion from ‘void (*)()’ to ‘int’
dijkstra.cpp:25:11: error: ‘w’ was not declared in this scope
25 | if(d + w <