Borderou de evaluare (job #1260777)
| Utilizator | Data | 11 noiembrie 2014 16:24:13 | |
|---|---|---|---|
| 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:13:20: error: ‘strlen’ was not declared in this scope
int n= strlen(c);
^
user.cpp:15:22: error: ‘strchr’ was not declared in this scope
if(strchr(v, c[0])) arr[0] = 0;
^
user.cpp:19:30: error: ‘strchr’ was not declared in this scope
if(strchr(v, c[i])) arr[i] = i;
^
user.cpp:25:30: error: ‘strchr’ was not declared in this scope
if(strchr(v, c[i])&&!f)
^
user.cpp:37:38: error: ‘strchr’ was not declared in this scope
if(strchr(v, c[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:12:25: 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 !
