Borderou de evaluare (job #1934013)

Utilizator RazvanR104Razvan-Andrei Ciocoiu RazvanR104 Data 21 martie 2017 02:59:25
Problema Kcity Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 95

Raport evaluator

Compilare: user.cpp: In function ‘int processState(int)’: user.cpp:36:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (color[currState[j]] == 0) ^ user.cpp:37:23: warning: array subscript has type ‘char’ [-Wchar-subscripts] color[currState[j]] = curr++; ^ user.cpp:38:37: warning: array subscript has type ‘char’ [-Wchar-subscripts] currState[j] = color[currState[j]]; ^ user.cpp: In function ‘int main()’: user.cpp:83:24: warning: array subscript has type ‘char’ [-Wchar-subscripts] currState[currSize++] = 0; ^ user.cpp:101:29: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (color[cachedState[j]] == -1) ^ user.cpp:102:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] color[cachedState[j]] = j; ^ user.cpp:104:41: warning: array subscript has type ‘char’ [-Wchar-subscripts] pairNodes[j] = color[cachedState[j]]; ^ user.cpp:105:36: warning: array subscript has type ‘char’ [-Wchar-subscripts] pairNodes[color[cachedState[j]]] = j; ^ user.cpp:51: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:54: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
10ms1776kbOK5
2156ms1860kbOK5
3412ms1896kbOK5
4436ms1876kbOK5
5100ms1820kbOK5
6Depăşit1860kbTime limit exceeded.0
71544ms1876kbOK5
84ms1860kbOK5
94ms1788kbOK5
100ms1780kbOK5
1192ms1840kbOK5
1260ms1840kbOK5
1384ms1844kbOK5
1436ms1808kbOK5
1532ms1840kbOK5
16752ms1860kbOK5
1796ms1840kbOK5
1844ms1844kbOK5
190ms1828kbOK5
200ms1780kbOK5
Punctaj total95

Ceva nu functioneaza?