Borderou de evaluare (job #622068)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Capitala | Compilator | cpp-32 |
Rundă | lasm_21_12_2021_cl12 | Status | evaluat |
Dată | 21 dec. 2021 14:55:51 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void bfs(int)':
main.cpp:101:30: error: expected '}' at end of input
101 | q.emplace(e);
| ^
main.cpp:97:41: note: to match this '{'
97 | if(dist[e] > dist[nod] + 1) {
| ^
main.cpp:101:30: error: expected '}' at end of input
101 | q.emplace(e);
| ^
main.cpp:92:23: note: to match this '{'
92 | while(!q.empty()) {
| ^
main.cpp:101:30: error: expected '}' at end of input
101 | q.emplace(e);
| ^
main.cpp:88:31: note: to match this '{'
88 | static inline void bfs(int x) {
| ^
main.cpp: In function 'char readChar()':
main.cpp:29:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
29 | fread( rbuf, 1, BUFSIZE, fin );
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~