Borderou de evaluare (job #1108855)
Utilizator | Data | 16 februarie 2014 14:06:22 | |
---|---|---|---|
Problema | Lista lui Andrei | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void Scannen()’:
user.cpp:25:24: error: invalid type argument of unary ‘*’ (have ‘char’)
DieNachbarn[CH(x)][CH(y)] = DieNachbarn[CH(y)][CH(x)] = true;
^
user.cpp:7:23: note: in definition of macro ‘CH’
#define CH(s) ((int)(*s - 'a'))
^
user.cpp:25:31: error: invalid type argument of unary ‘*’ (have ‘char’)
DieNachbarn[CH(x)][CH(y)] = DieNachbarn[CH(y)][CH(x)] = true;
^
user.cpp:7:23: note: in definition of macro ‘CH’
#define CH(s) ((int)(*s - 'a'))
^
user.cpp:25:52: error: invalid type argument of unary ‘*’ (have ‘char’)
DieNachbarn[CH(x)][CH(y)] = DieNachbarn[CH(y)][CH(x)] = true;
^
user.cpp:7:23: note: in definition of macro ‘CH’
#define CH(s) ((int)(*s - 'a'))
^
user.cpp:25:59: error: invalid type argument of unary ‘*’ (have ‘char’)
DieNachbarn[CH(x)][CH(y)] = DieNachbarn[CH(y)][CH(x)] = true;
^
user.cpp:7:23: note: in definition of macro ‘CH’
#define CH(s) ((int)(*s - 'a'))
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !