Borderou de evaluare (job #2105915)

Utilizator inquisitorAnders inquisitor Data 14 ianuarie 2018 16:59:52
Problema Figuri Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 90

Raport evaluator

Compilare: user.cpp: In function ‘void BFS(std::pair<int, int>)’: user.cpp:43:18: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses] if(I > 0 & I <= L & J >= 0 & J < C & ^ user.cpp:43:35: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses] if(I > 0 & I <= L & J >= 0 & J < C & ^ user.cpp:43:44: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses] if(I > 0 & I <= L & J >= 0 & J < C & ^ user.cpp:44: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:61:39: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 3 has type ‘int_fast16_t* {aka int*}’ [-Wformat=] scanf("%d %hd %d", &C, &L, &shapes); ^ user.cpp:58: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:59: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:61:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %hd %d", &C, &L, &shapes); ^ user.cpp:65:61: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d %d", &x1, &y11, &x2, &y2, &color); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms492kbOK10
20ms484kbOK10
30ms480kbOK10
40ms496kbOK10
50ms504kbOK10
60ms572kbOK10
70ms576kbOK10
8Depăşit720kbTime limit exceeded.0
90ms696kbOK10
108ms700kbOK10
Punctaj total90

Ceva nu functioneaza?