Borderou de evaluare (job #2116203)
Utilizator | Data | 27 ianuarie 2018 13:26:04 | |
---|---|---|---|
Problema | Puzzle3 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void read(int*, int*)’:
user.cpp:35:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(!good[c]) c = nextch();
^
user.cpp:36:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(good[c]){
^
user.cpp:37:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(good[c] == 1) v[++v[0]] = c - '0', w[v[0]] = 1;
^
user.cpp: In function ‘int main()’:
user.cpp:97:19: error: cannot convert ‘char*’ to ‘int*’ for argument ‘1’ to ‘void read(int*, int*)’
read(A, fA);
^
user.cpp:98:19: error: cannot convert ‘char*’ to ‘int*’ for argument ‘1’ to ‘void read(int*, int*)’
read(B, fB);
^
user.cpp:99:19: error: cannot convert ‘char*’ to ‘int*’ for argument ‘1’ to ‘void read(int*, int*)’
read(C, fC);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !