Borderou de evaluare (job #1934019)

Utilizator RazvanR104Razvan-Andrei Ciocoiu RazvanR104 Data 21 martie 2017 03:22:58
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:77:24: warning: array subscript has type ‘char’ [-Wchar-subscripts] currState[currSize++] = 0; ^ user.cpp:95:29: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (color[cachedState[j]] == -1) ^ user.cpp:96:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] color[cachedState[j]] = j; ^ user.cpp:98:41: warning: array subscript has type ‘char’ [-Wchar-subscripts] pairNodes[j] = color[cachedState[j]]; ^ user.cpp:99: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
10ms1508kbOK5
2276ms1636kbOK5
3596ms1680kbOK5
4636ms1680kbOK5
5172ms1560kbOK5
6Depăşit1656kbTime limit exceeded.0
72024ms1684kbOK5
84ms1616kbOK5
90ms1520kbOK5
100ms1508kbOK5
11164ms1588kbOK5
12108ms1588kbOK5
13140ms1600kbOK5
1460ms1544kbOK5
1560ms1588kbOK5
16844ms1600kbOK5
17160ms1592kbOK5
1876ms1592kbOK5
190ms1552kbOK5
200ms1508kbOK5
Punctaj total95

Ceva nu functioneaza?