Problem dijkstra
User Anonymous35V
Submission Time 2023-11-16 09:51:00
Score 0
Max Time N/A
Max Memory N/A

Compile Error

dijkstra.cpp:6:13: error: cannot declare ‘::main’ to be a global variable
6 | int32_t main({
| ^
dijkstra.cpp:7:7: error: ‘sync_with_studio’ is not a member of ‘std::ios’ {aka ‘std::basic_ios<char>’}
7 | ios::sync_with_studio(0);cin.tie(0)
| ^~~~~~~~~~~~~~~~
dijkstra.cpp:7:26: error: expected ‘}’ before ‘;’ token
7 | ios::sync_with_studio(0);cin.tie(0)
| ^
dijkstra.cpp:6:14: note: to match this ‘{’
6 | int32_t main({
| ^
dijkstra.cpp:7:26: error: expected ‘)’ before ‘;’ token
7 | ios::sync_with_studio(0);cin.tie(0)
| ^
| )
dijkstra.cpp:6:13: note: to match this ‘(’
6 | int32_t main({
| ^
dijkstra.cpp:7:27: error: ‘cin’ does not name a type; did you mean ‘sin’?
7 | ios::sync_with_studio(0);cin.tie(0)
|