Borderou de evaluare (job #2192199)

Utilizator IulianOleniucIulian Oleniuc IulianOleniuc Data 4 aprilie 2018 22:33:03
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
10ms880kbOK5
20ms808kbOK5
30ms864kbOK5
40ms872kbOK5
54ms800kbOK5
64ms784kbOK5
728ms916kbOK5
824ms916kbOK5
924ms912kbOK5
1024ms912kbOK5
11Depăşit1184kbTime limit exceeded.0
12Depăşit1176kbTime limit exceeded.0
13Depăşit1176kbTime limit exceeded.0
14Depăşit1184kbTime limit exceeded.0
15Depăşit1180kbTime limit exceeded.0
16Depăşit1176kbTime limit exceeded.0
17Depăşit1180kbTime limit exceeded.0
18Depăşit1180kbTime limit exceeded.0
19Depăşit1180kbTime limit exceeded.0
20Depăşit1180kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?