Borderou de evaluare (job #3140945)

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

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<<20)-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<<20)-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<<20)-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
14ms303kbOK1010
24ms303kbOK1010
34ms557kbOK1010
49ms819kbOK1030
534ms27074kbOK10
619ms5529kbOK10
778ms28815kbOK1010
8133ms35729kbOK100
9262ms40730kbOK10
10177ms35213kbKilled by Signal 110
Punctaj total70

Ceva nu functioneaza?