Borderou de evaluare (job #2192201)

Utilizator IulianOleniucIulian Oleniuc IulianOleniuc Data 4 aprilie 2018 22:35:04
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:27: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:9: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:10: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:12:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &n); ^ user.cpp:15: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
10ms756kbOK5
20ms876kbOK5
30ms752kbOK5
40ms876kbOK5
54ms788kbOK5
64ms932kbOK5
728ms916kbOK5
824ms916kbOK5
924ms932kbOK5
1024ms916kbOK5
11Depăşit1176kbTime limit exceeded.0
12Depăşit1176kbTime limit exceeded.0
13Depăşit1180kbTime limit exceeded.0
14Depăşit1176kbTime limit exceeded.0
15Depăşit1176kbTime limit exceeded.0
16Depăşit1180kbTime 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?