Borderou de evaluare (job #1077182)
| Utilizator | Data | 10 ianuarie 2014 23:02:07 | |
|---|---|---|---|
| Problema | Kami | Status | done |
| Runda | Teme Pregatire ACM Unibuc 2013 | Compilator | cpp | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void append(char*, int)’:
user.cpp:16:25: error: ‘strlen’ was not declared in this scope
int length = strlen(str);
^
user.cpp: In function ‘int main()’:
user.cpp:70:23: error: cannot convert ‘std::string {aka std::basic_string<char>}’ to ‘char*’ for argument ‘1’ to ‘void append(char*, int)’
append(output, i);
^
user.cpp:71:14: error: ‘length’ was not declared in this scope
output[length++] = '\n';
^
user.cpp:79:13: error: ‘length’ was not declared in this scope
output[length++] = '0';
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
