Borderou de evaluare (job #429046)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Fazan (clasele 11-12) | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 2 feb. 2019 10:55:34 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:18:44: error: call of overloaded ‘strchr(char&, int)’ is ambiguous
user.cpp:18:44: note: candidates are:
/usr/include/string.h:222:1: note: char* strchr(char*, int) <near match>
/usr/include/string.h:222:1: note: no known conversion for argument 1 from ‘char’ to ‘char*’
/usr/include/string.h:228:1: note: const char* strchr(const char*, int) <near match>
/usr/include/string.h:228:1: note: no known conversion for argument 1 from ‘char’ to ‘const char*’
user.cpp:8:13: warning: unused variable ‘v’ [-Wunused-variable]