Borderou de evaluare (job #2333114)

Utilizator Valentin0709Datcu George Valentin Valentin0709 Data 31 ianuarie 2019 18:24:49
Problema Obiective Status done
Runda Lista lui wefgef Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:11:20: error: 'int index' redeclared as different kind of symbol int n, m, t, x, y, index, ssize, nrctc, ctc[NMAX], viz[NMAX], cost[NMAX], s[NMAX], idx[NMAX], lowlink[NMAX], onstack[NMAX]; ^~~~~ In file included from main.cpp:3: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 'void tarjan(int)': main.cpp:47:29: error: no pre-increment operator for type idx[v] = lowlink[v] = ++index; ^~~~~ main.cpp: In function 'void citire_graf()': main.cpp:36:30: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d%d", &n, &m); ^ main.cpp:38:34: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d%d", &x, &y); ^ main.cpp: In function 'int main()': main.cpp:115:24: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d", &t); ^ main.cpp:117:34: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d%d", &x, &y); ^ Non zero exit status: 1

Ceva nu functioneaza?