Pagini recente » Borderou de evaluare (job #1835474) | Borderou de evaluare (job #583873) | Borderou de evaluare (job #1835658) | Borderou de evaluare (job #1487142) | Borderou de evaluare (job #1402199)
Borderou de evaluare (job #1402199)
Raport evaluator
Compilare:
user.cpp: In function ‘long int calcDP(long int, long int)’:
user.cpp:18:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
dp[l][r] = c[s[l]][s[r]];
^
user.cpp:18:32: warning: array subscript has type ‘char’ [-Wchar-subscripts]
dp[l][r] = c[s[l]][s[r]];
^
user.cpp:24:69: warning: array subscript has type ‘char’ [-Wchar-subscripts]
dp[l][r] = min(dp[l][r],calcDP(l,i-1)+calcDP(i+2,r) + c[s[i]][s[i+1]]);
^
user.cpp:24:77: warning: array subscript has type ‘char’ [-Wchar-subscripts]
dp[l][r] = min(dp[l][r],calcDP(l,i-1)+calcDP(i+2,r) + c[s[i]][s[i+1]]);
^
user.cpp:26:49: warning: array subscript has type ‘char’ [-Wchar-subscripts]
dp[l][r]=min(dp[l][r],calcDP(l+1,r-1)+c[s[l]][s[r]]);
^
user.cpp:26:55: warning: array subscript has type ‘char’ [-Wchar-subscripts]
dp[l][r]=min(dp[l][r],calcDP(l+1,r-1)+c[s[l]][s[r]]);
^
user.cpp: In function ‘int main()’:
user.cpp:39:30: warning: array subscript has type ‘char’ [-Wchar-subscripts]
scanf("%ld",&c[c1][c2]);
^
user.cpp:39:34: warning: array subscript has type ‘char’ [-Wchar-subscripts]
scanf("%ld",&c[c1][c2]);
^
user.cpp:33:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("redu.in","r",stdin);
^
user.cpp:34:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("redu.out","w",stdout);
^
user.cpp:36:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld\n%s\n",&n,s+1);
^
user.cpp:39:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&c[c1][c2]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 484kb | OK | 10 |
| 2 | 0ms | 504kb | Incorect | 0 |
| 3 | 0ms | 556kb | Incorect | 0 |
| 4 | 0ms | 652kb | Incorect | 0 |
| 5 | 32ms | 1064kb | Incorect | 0 |
| 6 | Depăşit | 1472kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 1468kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 1472kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 1468kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 1468kb | Time limit exceeded. | 0 |
| Punctaj total | 10 |