Borderou de evaluare (job #1090539)

Utilizator superman_01Avramescu Cristian superman_01 Data 22 ianuarie 2014 19:46:03
Problema Obiective Status done
Runda Lista lui wefgef Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:26:18: error: expected unqualified-id before ‘,’ token int N ,M , ctc , , CTC[NMAX_SIZE] , time[NMAX_SIZE] , Lg[NMAX_SIZE] , level[NMAX_SIZE] , TT[20][NMAX_SIZE], Highest[NMAX_SIZE] ; ^ user.cpp:26:51: error: ‘int time [32005]’ redeclared as different kind of symbol int N ,M , ctc , , CTC[NMAX_SIZE] , time[NMAX_SIZE] , Lg[NMAX_SIZE] , level[NMAX_SIZE] , TT[20][NMAX_SIZE], Highest[NMAX_SIZE] ; ^ In file included from /usr/include/pthread.h:26:0, from /usr/local/include/c++/4.8.0/i686-pc-linux-gnu/bits/gthr-default.h:35, from /usr/local/include/c++/4.8.0/i686-pc-linux-gnu/bits/gthr.h:148, from /usr/local/include/c++/4.8.0/ext/atomicity.h:33, from /usr/local/include/c++/4.8.0/bits/ios_base.h:39, from /usr/local/include/c++/4.8.0/ios:42, from /usr/local/include/c++/4.8.0/istream:38, from /usr/local/include/c++/4.8.0/fstream:38, from user.cpp:1: /usr/include/time.h:186:15: error: previous declaration of ‘time_t time(time_t*)’ extern time_t time (time_t *__timer) __THROW; ^ user.cpp: In function ‘void DFM(int)’: user.cpp:34:4: error: ‘class std::stack<int>’ has no member named ‘pus’ S.pus(node); ^ user.cpp: In function ‘void KosarajuAlgorithm()’: user.cpp:48:10: warning: unused variable ‘j’ [-Wunused-variable] int i , j , node; ^ user.cpp: In function ‘void TopologicalSort(int)’: user.cpp:71:11: warning: pointer to a function used in arithmetic [-Wpointer-arith] time[node] = ++time[0]; ^ user.cpp:71:23: warning: pointer to a function used in arithmetic [-Wpointer-arith] time[node] = ++time[0]; ^ user.cpp:71:23: error: ISO C++ forbids incrementing a pointer of type ‘time_t (*)(time_t*)throw () {aka long int (*)(long int*)throw ()}’ [-fpermissive] user.cpp:71:23: error: lvalue required as increment operand user.cpp: In function ‘bool cmp(int, int)’: user.cpp:74:43: warning: pointer to a function used in arithmetic [-Wpointer-arith] bool cmp ( int a , int b ) { return time[a] > time[b] ;} ^ user.cpp:74:53: warning: pointer to a function used in arithmetic [-Wpointer-arith] bool cmp ( int a , int b ) { return time[a] > time[b] ;} ^ user.cpp: In function ‘void CreateFather(int, int)’: user.cpp:83:23: error: too few arguments to function ‘void CreateFather(int, int)’ CreateFather ( *it ); ^ user.cpp:76:6: note: declared here void CreateFather ( int node, int father ) ^ user.cpp: In function ‘int main()’:

Ceva nu functioneaza?