Borderou de evaluare (job #2706437)

Utilizator vnedelcuVictor Andrei Nedelcu vnedelcu Data 14 februarie 2021 21:53:14
Problema Radix Sort Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void countsort(int, std::vector<unsigned int>&, std::vector<unsigned int>&, int)': main.cpp:69:43: warning: array subscript has type 'char' [-Wchar-subscripts] buckets[get_byte(numbers[j], byte)]++; ^ main.cpp:75:50: warning: array subscript has type 'char' [-Wchar-subscripts] temp[--buckets[get_byte(numbers[j], byte)]] = numbers[j]; ^ main.cpp: In function 'void radixsort(int, std::vector<unsigned int>&)': main.cpp:82:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < sizeof(uint32_t); i++) { ~~^~~~~~~~~ main.cpp: In function 'int main()': main.cpp:96:42: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d%d%d%d", &n, &a, &b, &c); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbIncorect00
217ms917kbIncorect0
3138ms8126kbIncorect0
482ms8114kbKilled by Signal 1100
5977ms80084kbKilled by Signal 110
6846ms80084kbKilled by Signal 110
7103ms8126kbKilled by Signal 110
81015ms80084kbKilled by Signal 1100
91005ms80084kbKilled by Signal 110
10964ms80216kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?