Pagini recente » Borderou de evaluare (job #850699) | Borderou de evaluare (job #3165884) | Borderou de evaluare (job #2737825) | Borderou de evaluare (job #916040) | Borderou de evaluare (job #1964794)
Borderou de evaluare (job #1964794)
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:68: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:68: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 |
1 | 0ms | 460kb | Te stii ! | 10 |
2 | 0ms | 468kb | Te stii ! | 10 |
3 | 0ms | 492kb | Valoare incorecta cerinta 2 ! | 2 |
4 | 0ms | 516kb | Valoare incorecta cerinta 2 ! | 2 |
5 | 0ms | 972kb | Valoare incorecta cerinta 2 ! | 2 |
6 | 16ms | 3568kb | Te stii ! | 10 |
7 | 32ms | 10812kb | Valoare incorecta cerinta 2 ! | 2 |
8 | 68ms | 10796kb | Valoare incorecta cerinta 2 ! | 2 |
9 | 56ms | 10816kb | Valoare incorecta cerinta 2 ! | 2 |
10 | 0ms | 776kb | Te stii ! | 10 |
Punctaj total | 52 |