Borderou de evaluare (job #2233092)

Utilizator PopoviciRobertPopovici Robert PopoviciRobert Data 22 august 2018 11:39:39
Problema Oxificare Light Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:33:45: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] cur = max(cur, dp[1 - i & 1][j - len[i] + mx]); ~~^~~ user.cpp:36:45: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] cur = max(cur, dp[1 - i & 1][j + len[i] + mx]); ~~^~~ user.cpp:17:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d " ,&t); ^ user.cpp:20:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d " ,&n); ^ user.cpp:23:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d " ,&len[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1104ms1332kbOK10
280ms1332kbOK10
380ms1332kbIncorect0
484ms1328kbIncorect0
572ms1328kbIncorect0
6Depăşit1364kbTime limit exceeded.0
7Depăşit1368kbTime limit exceeded.0
8Depăşit1368kbTime limit exceeded.0
9Depăşit1364kbTime limit exceeded.0
10Depăşit1368kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?