Borderou de evaluare (job #1161808)

Utilizator lianaliana tucar liana Data 31 martie 2014 14:28:34
Problema Kcover Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:15:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&T); ^ user.cpp:18:30: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld %ld",&n,&k); ^ user.cpp:18:30: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:20:30: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&v[i]); ^ user.cpp:26:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((*h.begin()<x)||(h.size()<k-1)) ^ user.cpp:29:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (h.size()>k-1) ^ user.cpp:36:27: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld\n",rez); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms232kbIncorect00
216ms304kbOK25
3276ms860kbIncorect0
4Depăşit2968kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?