Borderou de evaluare (job #1401142)

Utilizator dragosnicolaeNicolae Dragos dragosnicolae Data 25 martie 2015 17:57:14
Problema Sume 2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘unsigned int find_kth(unsigned int*, unsigned int, unsigned int, int*, int*, int*, int*, int*, int*, unsigned int)’: user.cpp:48:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0; i <= (n - 1) / 2 && i0 == -1; i++){ ^ user.cpp:71:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0; i < n; i++){ ^ user.cpp: In function ‘int main()’: user.cpp:116:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%u%u", &n, &k); ^ user.cpp:120:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%u", &x[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms432kbOK10
20ms436kbOK10
30ms456kbOK10
4Depăşit668kbTime limit exceeded.0
536ms988kbOK10
6Depăşit1288kbTime limit exceeded.0
7Depăşit1492kbTime limit exceeded.0
8Depăşit1768kbTime limit exceeded.0
9Depăşit1764kbTime limit exceeded.0
10Depăşit1772kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?