Pagini recente » Borderou de evaluare (job #2893461) | Borderou de evaluare (job #352393) | Borderou de evaluare (job #1599065) | Borderou de evaluare (job #583785) | Borderou de evaluare (job #1223995)
Borderou de evaluare (job #1223995)
Raport evaluator
Compilare:
user.cpp: In function ‘void back(int, int)’:
user.cpp:19:33: warning: array subscript has type ‘char’ [-Wchar-subscripts]
{ s[k]=s[k-1]+p[n-k+1][e[pl].v];
^
user.cpp:22:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v[e[pl].lin][e[pl].col]=0;
^
user.cpp:22:31: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v[e[pl].lin][e[pl].col]=0;
^
user.cpp:26:31: warning: array subscript has type ‘char’ [-Wchar-subscripts]
{ l=e[vec[pl][r]].lin;
^
user.cpp:27:31: warning: array subscript has type ‘char’ [-Wchar-subscripts]
c=e[vec[pl][r]].col;
^
user.cpp:34:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v[e[pl].lin][e[pl].col]=x[k];
^
user.cpp:34:31: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v[e[pl].lin][e[pl].col]=x[k];
^
user.cpp: In function ‘int main()’:
user.cpp:43:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=]
{ scanf("%d",&v[i][j]);
^
user.cpp:47:35: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for(t=1;t<=n;t++) poz[e[t].lin][e[t].col]=t;
^
user.cpp:47:45: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for(t=1;t<=n;t++) poz[e[t].lin][e[t].col]=t;
^
user.cpp:56:35: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(e[vec[t][i]].v<e[vec[t][i+1]].v) {swap(vec[t][i],vec[t][i+1]); w=1;}
^
user.cpp:56:52: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(e[vec[t][i]].v<e[vec[t][i+1]].v) {swap(vec[t][i],vec[t][i+1]); w=1;}
^
user.cpp:62:24: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld\n",smin);
^
user.cpp:40: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:40: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:41:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n",&a,&b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 284kb | OK | 10 |
2 | 24ms | 388kb | OK | 10 |
3 | 0ms | 308kb | OK | 10 |
4 | 0ms | 316kb | OK | 10 |
5 | 0ms | 316kb | OK | 10 |
6 | 0ms | 336kb | OK | 10 |
7 | 8ms | 340kb | OK | 10 |
8 | 16ms | 352kb | OK | 10 |
9 | Depăşit | 340kb | Time limit exceeded. | 0 |
10 | 16ms | 388kb | OK | 10 |
Punctaj total | 90 |