Borderou de evaluare (job #2105919)

Utilizator inquisitorAnders inquisitor Data 14 ianuarie 2018 17:11:33
Problema Figuri Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp:11:43: warning: narrowing conversion of ‘-1’ from ‘int’ to ‘short unsigned int’ inside { } [-Wnarrowing] dx[] = {0, -1, 1, 0, 0, 1, -1, 1, -1}, dy[] = {0, 0, 0, 1, -1, 1, -1, -1, 1}; ^ user.cpp:11:43: warning: narrowing conversion of ‘-1’ from ‘int’ to ‘short unsigned int’ inside { } [-Wnarrowing] user.cpp:11:43: warning: narrowing conversion of ‘-1’ from ‘int’ to ‘short unsigned int’ inside { } [-Wnarrowing] user.cpp:11:82: warning: narrowing conversion of ‘-1’ from ‘int’ to ‘short unsigned int’ inside { } [-Wnarrowing] dx[] = {0, -1, 1, 0, 0, 1, -1, 1, -1}, dy[] = {0, 0, 0, 1, -1, 1, -1, -1, 1}; ^ user.cpp:11:82: warning: narrowing conversion of ‘-1’ from ‘int’ to ‘short unsigned int’ inside { } [-Wnarrowing] user.cpp:11:82: warning: narrowing conversion of ‘-1’ from ‘int’ to ‘short unsigned int’ inside { } [-Wnarrowing] user.cpp: In function ‘void BFS(std::pair<short unsigned int, short unsigned int>)’: user.cpp:47:18: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses] if(I > 0 & I <= L & J >= 0 & J < C & ^ user.cpp:47:31: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses] if(I > 0 & I <= L & J >= 0 & J < C & ^ user.cpp:47:44: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses] if(I > 0 & I <= L & J >= 0 & J < C & ^ user.cpp:48:28: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses] paper[I][J] == color & !visited[I][J]) ^ user.cpp: In function ‘int main()’: user.cpp:62:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("figuri.in", "r", stdin); ^ user.cpp:63:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("figuri.out", "w", stdout); ^ user.cpp:65:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%hd %hd %hd", &C, &L, &shapes); ^ user.cpp:69:66: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%hd %hd %hd %hd %hd", &x1, &y11, &x2, &y2, &color); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms448kbKilled by signal 11(SIGSEGV).0
20ms440kbKilled by signal 11(SIGSEGV).0
30ms448kbKilled by signal 11(SIGSEGV).0
40ms448kbKilled by signal 11(SIGSEGV).0
50ms460kbKilled by signal 11(SIGSEGV).0
60ms480kbKilled by signal 11(SIGSEGV).0
70ms476kbKilled by signal 11(SIGSEGV).0
8Depăşit588kbTime limit exceeded.0
90ms516kbKilled by signal 11(SIGSEGV).0
104ms520kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?