Borderou de evaluare (job #1380661)

Utilizator AndreiGrigorasAndrei Grigoras AndreiGrigoras Data 8 martie 2015 10:30:44
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: In function ‘int buble(int)’: user.cpp:42:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ user.cpp: In function ‘void citire()’: 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]); ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms432kbOK1010
2176ms464kbOK1010
3Depăşit4312kbTime limit exceeded.00
4Depăşit4308kbTime limit exceeded.0
5Depăşit4312kbTime limit exceeded.00
6Depăşit4308kbTime limit exceeded.00
7Depăşit4308kbTime limit exceeded.00
8Depăşit4312kbTime limit exceeded.00
9240ms4316kbIncorect0
10240ms4312kbIncorect00
Punctaj total20

Ceva nu functioneaza?