Borderou de evaluare (job #1672454)
Utilizator | Data | 2 aprilie 2016 19:12:58 | |
---|---|---|---|
Problema | Culegere | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int GetSpaces(char*)’:
user.cpp:13:17: error: ‘strlen’ was not declared in this scope
lg = strlen(str);
^
user.cpp: In function ‘bool HasEnter(char*)’:
user.cpp:21:21: error: ‘strlen’ was not declared in this scope
int lg = strlen(str);
^
user.cpp: In function ‘bool OnlyNumeric(char*)’:
user.cpp:26:21: error: ‘strlen’ was not declared in this scope
int lg = strlen(str), i;
^
user.cpp:27:7: error: ‘i’ was not declared in this scope
for (i = 0; i < lg; ++i) {
^
user.cpp: In function ‘int main()’:
user.cpp:144:43: error: ‘sort’ was not declared in this scope
sort(starttimes.begin(), starttimes.end());
^
user.cpp:99:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("culegere.in", "r", stdin);
^
user.cpp:100:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("culegere.out", "w", stdout);
^
user.cpp:104:34: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(buffer, BUFFERSIZE, stdin);
^
user.cpp:117:35: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(buffer, BUFFERSIZE, stdin);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !