Pagini recente » Borderou de evaluare (job #1130308) | Borderou de evaluare (job #3178405) | Borderou de evaluare (job #1216931) | Borderou de evaluare (job #2357667) | Borderou de evaluare (job #2105919)
Borderou de evaluare (job #2105919)
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 |
1 | 0ms | 448kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 0ms | 440kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 448kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 448kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 460kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 480kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 476kb | Killed by signal 11(SIGSEGV). | 0 |
8 | Depăşit | 588kb | Time limit exceeded. | 0 |
9 | 0ms | 516kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 4ms | 520kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |