Borderou de evaluare (job #1401110)

Utilizator dragosnicolaeNicolae Dragos dragosnicolae Data 25 martie 2015 17:36:09
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*, unsigned int)’: user.cpp:47: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
10ms424kbOK10
20ms432kbOK10
30ms444kbOK10
4Depăşit668kbTime limit exceeded.0
536ms980kbOK10
6Depăşit1288kbTime limit exceeded.0
7Depăşit1336kbTime limit exceeded.0
8Depăşit1640kbTime limit exceeded.0
9Depăşit1644kbTime limit exceeded.0
10Depăşit1648kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?