Borderou de evaluare (job #1183853)

Utilizator jul123Iulia Duta jul123 Data 10 mai 2014 12:54:39
Problema Plan Status done
Runda Teme Pregatire ACM Unibuc 2013 Semestrul 2 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void dfs(int)’: user.cpp:21:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j=0; j<a[nod].size(); j++) { ^ user.cpp: In function ‘int main()’: user.cpp:52:34: error: invalid types ‘int[int]’ for array subscript fscanf(fin, "%d %d", &x[i], &y[i], ); ^ user.cpp:52:41: error: invalid types ‘int[int]’ for array subscript fscanf(fin, "%d %d", &x[i], &y[i], ); ^ user.cpp:52:44: error: expected primary-expression before ‘)’ token fscanf(fin, "%d %d", &x[i], &y[i], ); ^ user.cpp:49:24: warning: unused variable ‘j’ [-Wunused-variable] int i, m, n, x, y, j; ^ user.cpp:50:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d %d", &n, &m); ^

Ceva nu functioneaza?