Pagini recente » Borderou de evaluare (job #1618833) | Borderou de evaluare (job #2782367) | Borderou de evaluare (job #559994) | Borderou de evaluare (job #1705314) | Borderou de evaluare (job #1966212)
Borderou de evaluare (job #1966212)
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 |
1 | 0ms | 456kb | Te stii ! | 10 |
2 | 0ms | 472kb | Te stii ! | 10 |
3 | 0ms | 488kb | Te stii ! | 10 |
4 | 0ms | 516kb | Te stii ! | 10 |
5 | 0ms | 976kb | Te stii ! | 10 |
6 | 16ms | 3568kb | Te stii ! | 10 |
7 | 32ms | 10812kb | Te stii ! | 10 |
8 | 60ms | 10796kb | Te stii ! | 10 |
9 | 52ms | 10816kb | Valoare incorecta cerinta 2 ! | 2 |
10 | 0ms | 776kb | Te stii ! | 10 |
Punctaj total | 92 |