Borderou de evaluare (job #1592707)
Utilizator | Data | 7 februarie 2016 21:03:37 | |
---|---|---|---|
Problema | Aprindere | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0; i <=n-1 ; i++)
^
user.cpp:20:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=1; i <=m ; i++)
^
user.cpp:26:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j=1; j <= arr[i][3]; j++)
^
user.cpp:32:2: error: ‘index’ was not declared in this scope
index=1;
^
user.cpp:33:5: error: overloaded function with no contextual type information
max=1;
^
user.cpp:34:9: error: ‘maxi’ was not declared in this scope
while (maxi!=0)
^
user.cpp:36:6: error: overloaded function with no contextual type information
max=0;
^
user.cpp:38:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=index; i <= m ; i++)
^
user.cpp:40:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j=4; j <= 3+arr[i][3]; j++)
^
user.cpp:44:14: error: invalid operands of types ‘unsigned int’ and ‘<unresolved overloaded function type>’ to binary ‘operator>’
if ( on > max)
^
user.cpp:46:5: error: ‘nr_cam’ was not declared in this scope
nr_cam=arr[i][1];
^
user.cpp:47:9: error: overloaded function with no contextual type information
max = on;
^
user.cpp:50:24: error: ‘nr_cam’ was not declared in this scope
for (j=4; j <= 3+arr[nr_cam][arr[nr_cam][3]]; j++)
^
user.cpp:56:21: error: invalid types ‘int [1000][100][<unresolved overloaded function type>]’ for array subscript
timp=timp+arr[max][2];
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !