Borderou de evaluare (job #1027082)
| Utilizator | Data | 12 noiembrie 2013 13:25:13 | |
|---|---|---|---|
| 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:27:22: error: ‘i’ was not declared in this scope
for (int j = 1; j < i; j++)
^
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: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?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
