Borderou de evaluare (job #1934017)

Utilizator RazvanR104Razvan-Andrei Ciocoiu RazvanR104 Data 21 martie 2017 03:15:04
Problema Kcity Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 65

Raport evaluator

Compilare: user.cpp: In function ‘int processState(int)’: user.cpp:35:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (color[currState[j]] == 0) ^ user.cpp:36:23: warning: array subscript has type ‘char’ [-Wchar-subscripts] color[currState[j]] = curr++; ^ user.cpp:37:37: warning: array subscript has type ‘char’ [-Wchar-subscripts] currState[j] = color[currState[j]]; ^ user.cpp: In function ‘int main()’: user.cpp:76:24: warning: array subscript has type ‘char’ [-Wchar-subscripts] currState[currSize++] = 0; ^ user.cpp:94:29: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (color[cachedState[j]] == -1) ^ user.cpp:95:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] color[cachedState[j]] = j; ^ user.cpp:97:41: warning: array subscript has type ‘char’ [-Wchar-subscripts] pairNodes[j] = color[cachedState[j]]; ^ user.cpp:98:36: warning: array subscript has type ‘char’ [-Wchar-subscripts] pairNodes[color[cachedState[j]]] = j; ^ user.cpp:50:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d", &N, &K, &X, &M); ^ user.cpp:53:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &x, &y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1516kbOK5
2140ms1604kbIncorect0
3368ms1636kbOK5
4396ms1620kbOK5
592ms1556kbIncorect0
6Depăşit1600kbTime limit exceeded.0
71392ms1624kbOK5
80ms1604kbOK5
90ms1528kbOK5
100ms1520kbOK5
1176ms1588kbOK5
128ms1584kbIncorect0
1372ms1584kbOK5
1432ms1548kbOK5
1528ms1584kbIncorect0
16660ms1592kbOK5
1784ms1580kbOK5
184ms1588kbIncorect0
190ms1568kbIncorect0
200ms1520kbOK5
Punctaj total65

Ceva nu functioneaza?