Pagini recente » Borderou de evaluare (job #1845127) | Borderou de evaluare (job #463288) | Borderou de evaluare (job #978925) | Borderou de evaluare (job #324213) | Borderou de evaluare (job #1206735)
Borderou de evaluare (job #1206735)
Raport evaluator
Compilare:
user.cpp: In function ‘void prelsol()’:
user.cpp:15:13: warning: array subscript has type ‘char’ [-Wchar-subscripts]
{ smin=s[n]; memcpy (xm,x,n+1);}// for(int i=1;i<=n;i++) xm[i]=x[i];}
^
user.cpp: In function ‘void back(char, char)’:
user.cpp:17:8: warning: array subscript has type ‘char’ [-Wchar-subscripts]
{ s[k]=s[k-1]+p[k][i];
^
user.cpp:17:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
{ s[k]=s[k-1]+p[k][i];
^
user.cpp:17:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
{ s[k]=s[k-1]+p[k][i];
^
user.cpp:18:9: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(s[k]<smin)
^
user.cpp:19:8: warning: array subscript has type ‘char’ [-Wchar-subscripts]
{ w[i]=1; x[k]=i;
^
user.cpp:19:16: warning: array subscript has type ‘char’ [-Wchar-subscripts]
{ w[i]=1; x[k]=i;
^
user.cpp:22:37: warning: array subscript has type ‘char’ [-Wchar-subscripts]
{ vector<int>::iterator it=L[i].begin(), sf=L[i].end();
^
user.cpp:22:54: warning: array subscript has type ‘char’ [-Wchar-subscripts]
{ vector<int>::iterator it=L[i].begin(), sf=L[i].end();
^
user.cpp:25:14: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(!w[y])
^
user.cpp:29:7: warning: array subscript has type ‘char’ [-Wchar-subscripts]
w[i]=0;
^
user.cpp: In function ‘int main()’:
user.cpp:37:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=]
for(j=1;j<=b;j++) scanf("%d",&v[i][j]);
^
user.cpp:43:42: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(v[l][c]) L[v[i][j]].push_back(v[l][c]);
^
user.cpp:34:31: 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:34:64: 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:35:24: 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 | 28ms | 296kb | OK | 10 |
3 | 0ms | 292kb | OK | 10 |
4 | 0ms | 288kb | OK | 10 |
5 | 0ms | 288kb | OK | 10 |
6 | 0ms | 292kb | Incorect | 0 |
7 | 40ms | 292kb | OK | 10 |
8 | 64ms | 296kb | OK | 10 |
9 | Depăşit | 264kb | Time limit exceeded. | 0 |
10 | Depăşit | 284kb | Time limit exceeded. | 0 |
Punctaj total | 70 |