Borderou de evaluare (job #2134077)

Utilizator LittleWhoFeraru Mihail LittleWho Data 17 februarie 2018 17:17:21
Problema Range minimum query Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:48:41: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses] for (int j = 1; j <= n - pow2(i - 1); j++) { ^ user.cpp:23:23: note: in definition of macro ‘pow2’ #define pow2(x) (1 << x) ^ user.cpp:49:60: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses] D[i][j] = min(D[i - 1][j], D[i - 1][j + pow2(i - 1)]); ^ user.cpp:23:23: note: in definition of macro ‘pow2’ #define pow2(x) (1 << x) ^ user.cpp:30:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("carici.in", "r", stdin); ^ user.cpp:32:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("rmq.in", "r", stdin); ^ user.cpp:33:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("rmq.out", "w", stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms3624kbOK1010
24ms3628kbOK1010
324ms7764kbOK1010
4Depăşit8112kbTime limit exceeded.00
5Depăşit8120kbTime limit exceeded.00
6Depăşit8196kbTime limit exceeded.0
7Depăşit8348kbTime limit exceeded.00
8Depăşit8480kbTime limit exceeded.00
9Depăşit8476kbTime limit exceeded.00
10Depăşit8480kbTime limit exceeded.00
Punctaj total30

Ceva nu functioneaza?