Pagini recente » Borderou de evaluare (job #964920) | Borderou de evaluare (job #599193) | Borderou de evaluare (job #1494029) | Borderou de evaluare (job #2819588) | Borderou de evaluare (job #1778097)
Borderou de evaluare (job #1778097)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:25:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=]
scanf("%d",&a[i]);
^
user.cpp:32:67: warning: array subscript has type ‘char’ [-Wchar-subscripts]
d[i][j]=mint(d[i][j-1]+1,d[i-1][j]+1,d[i-1][j-1]+1-b[i][a[j]]);
^
user.cpp:15:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("note.in","r",stdin);
^
user.cpp:16:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("note.out","w",stdout);
^
user.cpp:17:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&v,&n);
^
user.cpp:20:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:23:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
user.cpp:25:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 304kb | OK | 10 |
2 | 0ms | 496kb | OK | 10 |
3 | 0ms | 508kb | OK | 10 |
4 | 0ms | 676kb | OK | 10 |
5 | 8ms | 680kb | OK | 10 |
6 | 36ms | 4468kb | OK | 10 |
7 | 100ms | 4472kb | OK | 10 |
8 | 12ms | 4472kb | OK | 10 |
9 | 116ms | 4368kb | OK | 10 |
10 | 12ms | 4376kb | OK | 10 |
Punctaj total | 100 |