Borderou de evaluare (job #1934011)

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

Raport evaluator

Compilare: user.cpp: In function ‘void processState(int)’: user.cpp:42:25: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (color[currState[j]] == 0) ^ user.cpp:43:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] color[currState[j]] = curr++; ^ user.cpp:48:36: warning: array subscript has type ‘char’ [-Wchar-subscripts] currState[j] = color[currState[j]]; ^ user.cpp: In function ‘int main()’: user.cpp:90:24: warning: array subscript has type ‘char’ [-Wchar-subscripts] currState[currSize++] = 0; ^ user.cpp:108:29: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (color[cachedState[j]] == -1) ^ user.cpp:109:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] color[cachedState[j]] = j; ^ user.cpp:111:41: warning: array subscript has type ‘char’ [-Wchar-subscripts] pairNodes[j] = color[cachedState[j]]; ^ user.cpp:112:36: warning: array subscript has type ‘char’ [-Wchar-subscripts] pairNodes[color[cachedState[j]]] = j; ^ user.cpp:58: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:61: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
2244ms2020kbOK5
3748ms2056kbOK5
4812ms2032kbOK5
5160ms1816kbOK5
6Depăşit2048kbTime limit exceeded.0
7Depăşit2036kbTime limit exceeded.0
84ms1940kbOK5
94ms1784kbOK5
100ms1772kbOK5
11100ms1840kbOK5
1268ms1836kbOK5
1392ms1844kbOK5
1440ms1804kbOK5
1536ms1836kbOK5
16872ms1852kbOK5
17108ms1840kbOK5
1848ms1836kbOK5
190ms1820kbOK5
200ms1776kbOK5
Punctaj total90

Ceva nu functioneaza?