Borderou de evaluare (job #2192200)

Utilizator IulianOleniucIulian Oleniuc IulianOleniuc Data 4 aprilie 2018 22:33:55
Problema Roy-Floyd Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:30:78: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if (!dp[i][j] || costDP < dp[i][j] || costDP == dp[i][j] && costLG > lg[i][j]) { ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ user.cpp:12:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("rf.in", "r", stdin); ^ user.cpp:13:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("rf.out", "w", stdout); ^ user.cpp:15:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &n); ^ user.cpp:18:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &dp[i][j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms812kbOK5
20ms756kbOK5
30ms756kbOK5
40ms864kbOK5
54ms872kbOK5
64ms816kbOK5
724ms960kbOK5
824ms964kbOK5
924ms960kbOK5
1024ms960kbOK5
11Depăşit1264kbTime limit exceeded.0
12Depăşit1264kbTime limit exceeded.0
13Depăşit1264kbTime limit exceeded.0
14Depăşit1260kbTime limit exceeded.0
15Depăşit1264kbTime limit exceeded.0
16Depăşit1264kbTime limit exceeded.0
17Depăşit1264kbTime limit exceeded.0
18Depăşit1260kbTime limit exceeded.0
19Depăşit1260kbTime limit exceeded.0
20Depăşit1268kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?