Pagini recente » Borderou de evaluare (job #495210) | Borderou de evaluare (job #2307491) | Borderou de evaluare (job #1221314) | Borderou de evaluare (job #1120064) | Borderou de evaluare (job #1223984)
Borderou de evaluare (job #1223984)
Raport evaluator
Compilare:
user.cpp: In function ‘int back(char, char, char, char)’:
user.cpp:19:8: warning: array subscript has type ‘char’ [-Wchar-subscripts]
{ s[k]=s[k-1]+p[n-k+1][val];
^
user.cpp:19:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
{ s[k]=s[k-1]+p[n-k+1][val];
^
user.cpp:20:11: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(s[k]+calc(k)<smin)
^
user.cpp:22:7: warning: array subscript has type ‘char’ [-Wchar-subscripts]
x[k]=val;
^
user.cpp:23:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v[lin][col]=0;
^
user.cpp:23:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v[lin][col]=0;
^
user.cpp:36:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v[lin][col]=x[k];
^
user.cpp:36:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v[lin][col]=x[k];
^
user.cpp:36:28: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v[lin][col]=x[k];
^
user.cpp: In function ‘int main()’:
user.cpp:47:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=]
{ scanf("%d",&v[i][j]);
^
user.cpp:71:24: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld\n",smin);
^
user.cpp:44:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("suma3.in","r",stdin); freopen("suma3.out","w",stdout);
^
user.cpp:44:67: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("suma3.in","r",stdin); freopen("suma3.out","w",stdout);
^
user.cpp:45:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&a,&b);
^
user.cpp:47:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
{ scanf("%d",&v[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 288kb | OK | 10 |
2 | 56ms | 464kb | OK | 10 |
3 | 0ms | 312kb | OK | 10 |
4 | 0ms | 336kb | OK | 10 |
5 | 0ms | 320kb | OK | 10 |
6 | 0ms | 348kb | OK | 10 |
7 | 12ms | 384kb | OK | 10 |
8 | 32ms | 476kb | OK | 10 |
9 | Depăşit | 460kb | Time limit exceeded. | 0 |
10 | 28ms | 412kb | OK | 10 |
Punctaj total | 90 |