Borderou de evaluare (job #1380662)

Utilizator AndreiGrigorasAndrei Grigoras AndreiGrigoras Data 8 martie 2015 10:31:21
Problema K-BubbleSort Status done
Runda Algoritmiada 2015 - Runda 2, Juniori Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: user.cpp:10:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] scanf("%d %d",&n,&k); ^ user.cpp:9:40: 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:10:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&n,&k); ^ user.cpp:12:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&v[i]); ^ user.cpp: In function ‘int buble(int)’: user.cpp:44:1: warning: control reaches end of non-void function [-Wreturn-type] } ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms432kbOK1010
24ms472kbOK1010
3Depăşit4316kbTime limit exceeded.00
4Depăşit4312kbTime limit exceeded.0
5Depăşit4312kbTime limit exceeded.00
6Depăşit4312kbTime limit exceeded.00
7Depăşit4312kbTime limit exceeded.00
8Depăşit4312kbTime limit exceeded.00
9260ms4316kbIncorect0
10276ms4316kbIncorect00
Punctaj total20

Ceva nu functioneaza?