Borderou de evaluare (job #1027076)

Utilizator miu_mik93FMI - Paduraru Miruna miu_mik93 Data 12 noiembrie 2013 13:21:33
Problema Parantezare Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:15:22: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[100001]’ [-Wformat=] fscanf(f, "%s", &sir); ^ user.cpp:16:22: error: ‘strlen’ was not declared in this scope int len = strlen(sir), i = 0; ^ user.cpp:17:9: error: ‘i’ was not declared in this scope while (i < len) ^ user.cpp:21:4: error: ‘v’ was not declared in this scope v[i] = 1; ^ user.cpp:24:5: error: ‘v’ was not declared in this scope v[i] = -1; ^ user.cpp:27:22: error: ‘i’ was not declared in this scope for (int j = 1; j < i; j++) ^ user.cpp:28:3: error: ‘v’ was not declared in this scope v[j] += v[j-1]; ^ user.cpp:34:19: error: ‘i’ was not declared in this scope for (l = q; l < i && v[l] != ( v[q] - 1 ); l++) ^ user.cpp:34:24: error: ‘v’ was not declared in this scope for (l = q; l < i && v[l] != ( v[q] - 1 ); l++) ^ user.cpp:14:6: warning: unused variable ‘n’ [-Wunused-variable] int n, index = 0; char c; ^ user.cpp:14:9: warning: unused variable ‘index’ [-Wunused-variable] int n, index = 0; char c; ^

Ceva nu functioneaza?