Pagini recente » Borderou de evaluare (job #2295395) | Borderou de evaluare (job #2716256) | Borderou de evaluare (job #3142417) | Borderou de evaluare (job #173971) | Borderou de evaluare (job #1266818)
Borderou de evaluare (job #1266818)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:62:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<v.size();i++) if (d[v[i]]==0) {d[v[i]]=1;printf("%d ",v[i]);}
^
user.cpp:50:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bemo.in","r",stdin);
^
user.cpp:51:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bemo.out","w",stdout);
^
user.cpp:54:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&N,&M);
^
user.cpp:56:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(j=1;j<=M;j++) {scanf("%d",&a[i][j]);m[i][j][0]=a[i][j];where[a[i][j]]=ii(i,j);}
^
user.cpp: In function ‘void doing(int, int, int, int)’:
user.cpp:43:20: warning: ‘j1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
doing(i1,x2,j1,y2);
^
user.cpp:43:20: warning: ‘i1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.cpp:39:18: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (mi>x) {mi=x;i1=i;j1=where[x].second;}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 20ms | 19080kb | OK | 10 |
2 | 36ms | 21740kb | OK | 10 |
3 | 76ms | 26904kb | OK | 10 |
4 | 264ms | 46412kb | OK | 10 |
5 | 336ms | Depăşit | Memory limit exceeded. | 0 |
6 | 380ms | Depăşit | Memory limit exceeded. | 0 |
7 | 424ms | Depăşit | Memory limit exceeded. | 0 |
8 | 488ms | Depăşit | Memory limit exceeded. | 0 |
9 | 484ms | Depăşit | Memory limit exceeded. | 0 |
10 | 488ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 40 |