Borderou de evaluare (job #1381362)

Utilizator topala.andreiTopala Andrei topala.andrei Data 8 martie 2015 12:08:38
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:8:41: 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:9:43: 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:10:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d %ld",&n,&k); ^ user.cpp:12:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%ld",&v[j]);j++; ^ user.cpp:17:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] {if (i+1==j) {scanf ("%ld",&v[j]);j++;} ^ user.cpp:27:48: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] if (j<n) for (;j<=n;j++) scanf("%ld",&v[j]); ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
✓10ms248kbOK1010
✗24ms284kbOK1010
✗3Depăşit4116kbTime limit exceeded.00
✓4Depăşit4116kbTime limit exceeded.0
✗5Depăşit4116kbTime limit exceeded.00
✗6Depăşit4120kbTime limit exceeded.00
✗7Depăşit4124kbTime limit exceeded.00
✓8Depăşit4120kbTime limit exceeded.00
✗9Depăşit4116kbTime limit exceeded.0
✗10Depăşit4116kbTime limit exceeded.00
Punctaj total20

Ceva nu functioneaza?