Borderou de evaluare (job #1730394)

Utilizator depevladVlad Dumitru-Popescu depevlad Data 16 iulie 2016 21:06:23
Problema Divizori2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:10:15: error: ‘int index’ redeclared as different kind of symbol int N, _size, index; ^ In file included from /usr/include/c++/4.8/cstring:42:0, from /usr/include/i386-linux-gnu/c++/4.8/bits/stdc++.h:48, from user.cpp:1: /usr/include/string.h:482:1: error: previous declaration of ‘const char* index(const char*, int)’ index (__const char *__s, int __c) __THROW ^ user.cpp: In function ‘bool rootedIso(int, int)’: user.cpp:81:18: warning: capture of variable ‘subtreeLabels’ with non-automatic storage duration [enabled by default] [&t, &subtreeLabels] (int a, int b) { return subtreeLabels[t][a] < subtreeLabels[t][b]; }); ^ user.cpp:16:25: note: ‘vvi subtreeLabels [2]’ declared here vvi gPair[2], hList[2], subtreeLabels[2]; ^ user.cpp: In function ‘void dfsNorm(int, int)’: user.cpp:119:20: error: no post-increment operator for type nodeId[u] = index++; ^ user.cpp: In function ‘bool tryDivisor(int)’: user.cpp:159:13: error: overloaded function with no contextual type information index = 0; ^

Ceva nu functioneaza?