Pagini recente » Borderou de evaluare (job #2682463) | Borderou de evaluare (job #518367) | Borderou de evaluare (job #2639214) | Borderou de evaluare (job #2882416) | Borderou de evaluare (job #1966214)
Borderou de evaluare (job #1966214)
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 | 460kb | Te stii ! | 10 |
2 | 0ms | 464kb | Te stii ! | 10 |
3 | 0ms | 492kb | Te stii ! | 10 |
4 | 0ms | 516kb | Te stii ! | 10 |
5 | 0ms | 972kb | Te stii ! | 10 |
6 | 16ms | 3568kb | Te stii ! | 10 |
7 | 32ms | 10812kb | Te stii ! | 10 |
8 | 56ms | 10796kb | Te stii ! | 10 |
9 | 52ms | 10816kb | Te stii ! | 10 |
10 | 0ms | 780kb | Te stii ! | 10 |
Punctaj total | 100 |