Borderou de evaluare (job #1966212)

Utilizator Alexa2001Alexa Tudose Alexa2001 Data 14 aprilie 2017 23:50:10
Problema Palindrom3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 92

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:48:25: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(cost[a[i]][j] + cost[a[2*n-i-1]][j] < inf) break; ^ user.cpp:48:47: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(cost[a[i]][j] + cost[a[2*n-i-1]][j] < inf) break; ^ user.cpp:67:50: warning: array subscript has type ‘char’ [-Wchar-subscripts] new_cost = dp[i+1][r] + cost[a[i]][c] + cost[a[2*n-i-1]][c]; ^ user.cpp:67:72: warning: array subscript has type ‘char’ [-Wchar-subscripts] new_cost = dp[i+1][r] + cost[a[i]][c] + cost[a[2*n-i-1]][c]; ^ user.cpp:22:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("palindrom3.in", "r", stdin); ^ user.cpp:23:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("palindrom3.out", "w", stdout); ^ user.cpp:25:48: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(i=0; i<=9; ++i) scanf("%d", &change[i]); ^ user.cpp:26:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("\n%s\n%d", a, &k); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms456kbTe stii !10
20ms472kbTe stii !10
30ms488kbTe stii !10
40ms516kbTe stii !10
50ms976kbTe stii !10
616ms3568kbTe stii !10
732ms10812kbTe stii !10
860ms10796kbTe stii !10
952ms10816kbValoare incorecta cerinta 2 !2
100ms776kbTe stii !10
Punctaj total92

Ceva nu functioneaza?