Borderou de evaluare (job #1568114)

Utilizator raluca1234Tudor Raluca raluca1234 Data 13 ianuarie 2016 21:58:46
Problema K-BubbleSort Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:10:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("kbubblesort.in", "r", stdin); ^ user.cpp:11:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("kbubblesort.out", "w", stdout); ^ user.cpp:12:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &k); ^ user.cpp:15:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &v[i]); ^ user.cpp:9:33: warning: ‘pos’ may be used uninitialized in this function [-Wmaybe-uninitialized] int n, k, i, st, dr, ultim, pos; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
1Depăşit272kbTime limit exceeded.00
2Depăşit560kbTime limit exceeded.00
3544msDepăşitMemory limit exceeded.00
4292msDepăşitMemory limit exceeded.0
5344msDepăşitMemory limit exceeded.00
6344msDepăşitMemory limit exceeded.00
7792msDepăşitMemory limit exceeded.00
8640msDepăşitMemory limit exceeded.00
9348msDepăşitMemory limit exceeded.0
10344msDepăşitMemory limit exceeded.00
Punctaj total0

Ceva nu functioneaza?