Borderou de evaluare (job #1261301)
Utilizator | Data | 12 noiembrie 2014 11:07:22 | |
---|---|---|---|
Problema | Text2 | 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:10:24: error: ‘strlen’ was not declared in this scope
int k, n = strlen(c);
^
user.cpp:13:22: error: ‘strchr’ was not declared in this scope
if(strchr(v, c[0])) arr[0] = 0;
^
user.cpp:17:30: error: ‘strchr’ was not declared in this scope
if(strchr(v, c[i])) arr[i] = i;
^
user.cpp:23:30: error: ‘strchr’ was not declared in this scope
if(strchr(v, c[i])) f = 1;
^
user.cpp:32:38: error: ‘strchr’ was not declared in this scope
if(strchr(v, c[j])) x[j][i] = x[j-1][i-1] + x[j-1][i];
^
user.cpp:9:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%s", c);
^
user.cpp:11:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &k);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !