Borderou de evaluare (job #2457955)

Utilizator etienAndrone Stefan etien Data 19 septembrie 2019 10:31:27
Problema Easygraph Status done
Runda Arhiva ICPC Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int dfs(int)': main.cpp:11:19: error: expression list treated as compound expression in initializer [-fpermissive] #define p pow(2,62) ^ main.cpp:26:13: note: in expansion of macro 'p' for(int p=lst[x];p!=0;p=urm[p]) ^ main.cpp:11:19: warning: left operand of comma operator has no effect [-Wunused-value] #define p pow(2,62) ^ main.cpp:26:13: note: in expansion of macro 'p' for(int p=lst[x];p!=0;p=urm[p]) ^ main.cpp:26:14: error: expected ';' before '=' token for(int p=lst[x];p!=0;p=urm[p]) ^ main.cpp:26:14: error: expected primary-expression before '=' token main.cpp:11:19: error: 'pow' cannot be used as a function #define p pow(2,62) ^ main.cpp:26:22: note: in expansion of macro 'p' for(int p=lst[x];p!=0;p=urm[p]) ^ main.cpp:26:26: error: expected ')' before ';' token for(int p=lst[x];p!=0;p=urm[p]) ^ main.cpp:26:34: error: invalid types 'int [30001][__gnu_cxx::__promote_2<int, int, double, double>::__type {aka double}]' for array subscript for(int p=lst[x];p!=0;p=urm[p]) ^ Non zero exit status: 1

Ceva nu functioneaza?