Borderou de evaluare (job #2307929)

Utilizator StefanSanStanescu Stefan StefanSan Data 25 decembrie 2018 21:28:08
Problema Pluton Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:17:33: error: 'long long int index' redeclared as different kind of symbol long long n, nr = 0, nrMax, index, cntMaxx = 0; ^~~~~ In file included from main.cpp:5:0: /usr/include/string.h:477:1: note: previous declaration 'const char* index(const char*, int)' index (const char *__s, int __c) __THROW ^~~~~ main.cpp: In function 'int main()': main.cpp:42:9: warning: unused variable 'w' [-Wunused-variable] int w[100], nr, ii = 0; ^ main.cpp:42:17: warning: unused variable 'nr' [-Wunused-variable] int w[100], nr, ii = 0; ^~ main.cpp:42:21: warning: unused variable 'ii' [-Wunused-variable] int w[100], nr, ii = 0; ^~ Non zero exit status: 1

Ceva nu functioneaza?