Pagini recente » Borderou de evaluare (job #1528562) | Borderou de evaluare (job #2213101) | Borderou de evaluare (job #2530883) | Borderou de evaluare (job #2617184) | Borderou de evaluare (job #1698840)
Borderou de evaluare (job #1698840)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:24:35: warning: array subscript has type ‘char’ [-Wchar-subscripts]
ans[i-1][i] = cst[str[i-1]][str[i]];
^
user.cpp:24:43: warning: array subscript has type ‘char’ [-Wchar-subscripts]
ans[i-1][i] = cst[str[i-1]][str[i]];
^
user.cpp:28:33: warning: array subscript has type ‘char’ [-Wchar-subscripts]
ans[a][b]=cst[str[a]][str[b]]+ans[a+1][b-1];
^
user.cpp:28:41: warning: array subscript has type ‘char’ [-Wchar-subscripts]
ans[a][b]=cst[str[a]][str[b]]+ans[a+1][b-1];
^
user.cpp:17:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(file_in,"%d ",&n);
^
user.cpp:18:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(file_in,"%s ",str);
^
user.cpp:21:44: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(file_in,"%d",&cst[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 476kb | OK | 10 |
2 | 0ms | 496kb | OK | 10 |
3 | 0ms | 548kb | OK | 10 |
4 | 0ms | 656kb | OK | 10 |
5 | 8ms | 1044kb | OK | 10 |
6 | 52ms | 1440kb | OK | 10 |
7 | 52ms | 1440kb | OK | 10 |
8 | 52ms | 1440kb | OK | 10 |
9 | 52ms | 1444kb | OK | 10 |
10 | 52ms | 1440kb | OK | 10 |
Punctaj total | 100 |