Borderou de evaluare (job #2946993)

Utilizator andriciucandreeaAndriciuc Andreea andriciucandreea Data 25 noiembrie 2022 15:37:43
Problema Apm2 Status done
Runda Arhiva Monthly Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:18:15: error: 'int index' redeclared as different kind of entity 18 | int n, m, q, index; | ^~~~~ In file included from /usr/include/string.h:432, from /usr/include/c++/10/cstring:42, from main.cpp:5: /usr/include/strings.h:61:1: note: previous declaration 'const char* index(const char*, int)' 61 | index (const char *__s, int __c) __THROW | ^~~~~ main.cpp: In function 'int kruskal(int, int)': main.cpp:71:1: warning: control reaches end of non-void function [-Wreturn-type] 71 | } | ^ Non zero exit status: 1

Ceva nu functioneaza?