Borderou de evaluare (job #1934022)

Utilizator RazvanR104Razvan-Andrei Ciocoiu RazvanR104 Data 21 martie 2017 03:38:56
Problema Kcity Status done
Runda Lista lui wefgef Compilator cpp | Vezi sursa
Scor 90

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:80:24: warning: array subscript has type ‘char’ [-Wchar-subscripts] currState[currSize++] = 0; ^ user.cpp:98:29: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (color[cachedState[j]] == -1) ^ user.cpp:99:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] color[cachedState[j]] = j; ^ user.cpp:101:41: warning: array subscript has type ‘char’ [-Wchar-subscripts] pairNodes[j] = color[cachedState[j]]; ^ user.cpp:102: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
10ms1528kbOK5
2148ms1608kbOK5
3392ms1612kbOK5
4416ms1608kbOK5
596ms1560kbOK5
6Depăşit1592kbTime limit exceeded.0
71468ms1608kbOK5
84ms1592kbOK5
90ms1544kbOK5
100ms1528kbIncorect0
1188ms1592kbOK5
1256ms1596kbOK5
1380ms1600kbOK5
1432ms1556kbOK5
1528ms1596kbOK5
16716ms1604kbOK5
1792ms1592kbOK5
1840ms1596kbOK5
190ms1576kbOK5
200ms1532kbOK5
Punctaj total90

Ceva nu functioneaza?