Borderou de evaluare (job #1531794)

Utilizator popa.andreiPopa Andrei popa.andrei Data 21 noiembrie 2015 14:30:20
Problema Licenta Status done
Runda FMI No Stress 6 Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:32:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < v1.size(); i++) { ^ user.cpp:34:120: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = std::lower_bound(v2.begin(),v2.end(), make_pair(v1[i].first,v1[i].first + k)) - v2.begin(); j < v2.size(); j++) { ^ user.cpp:10:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("licenta.in","r",stdin); ^ user.cpp:11:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("licenta.out","w",stdout); ^ user.cpp:20:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&a,&b); ^ user.cpp:28:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&a,&b); ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test
18ms568kbOK10
28ms568kbIncorect0
30ms468kbOK10
44ms552kbOK10
520ms636kbOK10
6Depăşit1720kbTime limit exceeded.0
7Depăşit2104kbTime limit exceeded.0
8Depăşit2120kbTime limit exceeded.0
9Depăşit2104kbTime limit exceeded.0
10252ms2108kbIncorect0
Punctaj total40

Ceva nu functioneaza?