Borderou de evaluare (job #1381999)

Utilizator killer301Ioan Andrei Nicolae killer301 Data 8 martie 2015 13:46:56
Problema K-BubbleSort Status done
Runda Algoritmiada 2015 - Runda 2, Juniori Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:19:10: warning: variable ‘ok’ set but not used [-Wunused-but-set-variable] bool ok = 1; ^ user.cpp:12: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:13: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:15: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:17:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &v[i]); ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms252kbOK1010
24ms288kbOK1010
3Depăşit4124kbTime limit exceeded.00
4Depăşit4124kbTime limit exceeded.0
5Depăşit4128kbTime limit exceeded.00
6Depăşit4124kbTime limit exceeded.00
7Depăşit4128kbTime limit exceeded.00
8Depăşit4128kbTime limit exceeded.00
9Depăşit4128kbTime limit exceeded.0
10Depăşit4124kbTime limit exceeded.00
Punctaj total20

Ceva nu functioneaza?