Borderou de evaluare (job #1934020)

Utilizator RazvanR104Razvan-Andrei Ciocoiu RazvanR104 Data 21 martie 2017 03:24:50
Problema Kcity Status done
Runda Arhiva de probleme 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:74:24: warning: array subscript has type ‘char’ [-Wchar-subscripts] currState[currSize++] = 0; ^ user.cpp:89:29: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (color[cachedState[j]] == -1) ^ user.cpp:90:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] color[cachedState[j]] = j; ^ user.cpp:92:41: warning: array subscript has type ‘char’ [-Wchar-subscripts] pairNodes[j] = color[cachedState[j]]; ^ user.cpp:93: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
10ms1492kbOK5
2248ms1576kbOK5
3624ms1604kbOK5
4664ms1608kbOK5
5156ms1528kbOK5
6Depăşit1592kbTime limit exceeded.0
7Depăşit1580kbTime limit exceeded.0
84ms1544kbOK5
90ms1500kbOK5
100ms1492kbOK5
11128ms1528kbOK5
1284ms1528kbOK5
13116ms1528kbOK5
1448ms1508kbOK5
1544ms1520kbOK5
16920ms1536kbOK5
17136ms1524kbOK5
1860ms1524kbOK5
190ms1488kbOK5
200ms1492kbOK5
Punctaj total90

Ceva nu functioneaza?