Borderou de evaluare (job #1215799)

Utilizator ZenusTudor Costin Razvan Zenus Data 2 august 2014 12:17:13
Problema RangeMode Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int find_solution()’: user.cpp:118:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i=0;i<Q.size();++i) ^ user.cpp: In function ‘int main()’: user.cpp:132:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("rangemode.in","r",stdin); ^ user.cpp:133:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("rangemode.out","w",stdout); ^ user.cpp:135:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&N,&M); ^ user.cpp:139:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&A[i]); ^ user.cpp:149:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&i,&j); ^ user.cpp: In function ‘int find_solution()’: user.cpp:127:12: warning: ‘element’ may be used uninitialized in this function [-Wmaybe-uninitialized] return element; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
1160ms12072kbOK1010
2512ms13048kbOK1010
3Depăşit14848kbTime limit exceeded.00
4Depăşit15352kbTime limit exceeded.0
568msDepăşitMemory limit exceeded.0
696msDepăşitMemory limit exceeded.00
784msDepăşitMemory limit exceeded.0
892msDepăşitMemory limit exceeded.0
9112msDepăşitMemory limit exceeded.0
10108msDepăşitMemory limit exceeded.0
Punctaj total20

Ceva nu functioneaza?