Borderou de evaluare (job #1727378)

Utilizator petrooPetru G petroo Data 10 iulie 2016 17:40:01
Problema Cautare binara Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:54:24: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%lld",&x),numere.push_back(x); ^ user.cpp:55:20: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%lld",&m); ^ user.cpp:58:36: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 3 has type ‘int*’ [-Wformat=] scanf("%d %lld",&opt,&vecin); ^ user.cpp:60:52: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%d\n",bin_search0(numere,vecin)); ^ user.cpp:62:52: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%d\n",bin_search1(numere,vecin)); ^ user.cpp:64:52: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%d\n",bin_search2(numere,vecin)); ^ user.cpp:50:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cautbin.in","r",stdin); ^ user.cpp:51:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cautbin.out","w",stdout); ^ user.cpp:52:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:54:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld",&x),numere.push_back(x); ^ user.cpp:55:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld",&m); ^ user.cpp:58:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %lld",&opt,&vecin); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms276kbIncorect00
20ms276kbIncorect00
30ms272kbIncorect00
44ms280kbIncorect00
5Depăşit376kbTime limit exceeded.00
6Depăşit768kbTime limit exceeded.0
732msDepăşitMemory limit exceeded.00
832msDepăşitMemory limit exceeded.0
940msDepăşitMemory limit exceeded.0
1040msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?