Pagini recente » Borderou de evaluare (job #1729577) | Borderou de evaluare (job #2119873) | Borderou de evaluare (job #1778683) | Borderou de evaluare (job #2934562) | Borderou de evaluare (job #1934011)
Borderou de evaluare (job #1934011)
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 |
| 1 | 0ms | 1776kb | OK | 5 |
| 2 | 244ms | 2020kb | OK | 5 |
| 3 | 748ms | 2056kb | OK | 5 |
| 4 | 812ms | 2032kb | OK | 5 |
| 5 | 160ms | 1816kb | OK | 5 |
| 6 | Depăşit | 2048kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 2036kb | Time limit exceeded. | 0 |
| 8 | 4ms | 1940kb | OK | 5 |
| 9 | 4ms | 1784kb | OK | 5 |
| 10 | 0ms | 1772kb | OK | 5 |
| 11 | 100ms | 1840kb | OK | 5 |
| 12 | 68ms | 1836kb | OK | 5 |
| 13 | 92ms | 1844kb | OK | 5 |
| 14 | 40ms | 1804kb | OK | 5 |
| 15 | 36ms | 1836kb | OK | 5 |
| 16 | 872ms | 1852kb | OK | 5 |
| 17 | 108ms | 1840kb | OK | 5 |
| 18 | 48ms | 1836kb | OK | 5 |
| 19 | 0ms | 1820kb | OK | 5 |
| 20 | 0ms | 1776kb | OK | 5 |
| Punctaj total | 90 |