Borderou de evaluare (job #3140947)

Utilizator MihaiBunBunget Mihai MihaiBun Data 11 iulie 2023 10:48:05
Problema Hashuri Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 30

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:3:18: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] 3 | #define N (1<<18)-1 | ~~~~~~~^~ main.cpp:21:19: note: in expansion of macro 'N' 21 | m = x&N; | ^ main.cpp:22:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 22 | for(h = 0; h < a[m].size(); h++) | ~~^~~~~~~~~~~~~ main.cpp:3:18: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] 3 | #define N (1<<18)-1 | ~~~~~~~^~ main.cpp:30:19: note: in expansion of macro 'N' 30 | m = x&N; | ^ main.cpp:31:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 31 | for(h = 0; h < a[m].size(); h++) | ~~^~~~~~~~~~~~~ main.cpp:3:18: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] 3 | #define N (1<<18)-1 | ~~~~~~~^~ main.cpp:49:19: note: in expansion of macro 'N' 49 | m = x&N; | ^ main.cpp:50:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 50 | for(h = 0; h < a[m].size(); h++) | ~~^~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
11ms303kbOK1010
21ms303kbOK1010
31ms557kbOK1010
49ms819kbOK100
514ms7667kbOK10
611ms1150kbKilled by Signal 110
731ms9191kbKilled by Signal 1100
832ms10178kbKilled by Signal 1100
957ms10850kbKilled by Signal 110
10123ms12869kbKilled by Signal 110
Punctaj total30

Ceva nu functioneaza?