Borderou de evaluare (job #3219722)

Utilizator morromath9000Morodan Tatiana morromath9000 Data 31 martie 2024 23:26:48
Problema Tastatură defectă Status done
Runda arhiva-utcn Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:15:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 15 | for(i = 0; i < strlen(s); i++) | ~~^~~~~~~~~~~ main.cpp:17:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 17 | for(j = 0; j < strlen(t); j++) | ~~^~~~~~~~~~~ main.cpp:25:33: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset [1648, 1651] is out of the bounds [0, 1648] of object 'freq2' with type 'int [412]' [-Warray-bounds] 25 | freq1[i] = freq2[i] = 0; | ~~~~~~~~~^~~ main.cpp:8:17: note: 'freq2' declared here 8 | int freq1[412], freq2[412], k = 0, i, j; | ^~~~~ main.cpp:25:22: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset [1648, 1651] is out of the bounds [0, 1648] of object 'freq1' with type 'int [412]' [-Warray-bounds] 25 | freq1[i] = freq2[i] = 0; | ~~~~~~~~~^~~~~~~~~~~~~~ main.cpp:8:5: note: 'freq1' declared here 8 | int freq1[412], freq2[412], k = 0, i, j; | ^~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK100
Punctaj total100

Ceva nu functioneaza?