Pagini recente » Borderou de evaluare (job #848386) | Borderou de evaluare (job #1781718) | Borderou de evaluare (job #2462686) | Borderou de evaluare (job #3201057) | Borderou de evaluare (job #1563386)
Borderou de evaluare (job #1563386)
Raport evaluator
Compilare:
user.cpp: In function ‘void buildtree()’:
user.cpp:139:12: warning: unused variable ‘p’ [-Wunused-variable]
long i,j,k,p;
^
user.cpp: In function ‘void compute(long int*, long int*, long int*, long int*, long int, long int*)’:
user.cpp:269:12: warning: unused variable ‘p’ [-Wunused-variable]
long i,j,k,p;
^
user.cpp: In function ‘void readdata()’:
user.cpp:37:26: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(filein,"r",stdin);
^
user.cpp:38:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld %ld",&dx,&dy,&n);
^
user.cpp:41:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld",&xsx[i],&ysx[i]);
^
user.cpp: In function ‘void outputdata()’:
user.cpp:333:28: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(fileout,"w",stdout);
^
user.cpp: In function ‘long int locate(long int*, long int)’:
user.cpp:192:8: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return poz;
^
user.cpp: In function ‘void compute(long int*, long int*, long int*, long int*, long int, long int*)’:
user.cpp:317:32: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized]
k=addtotree(poz[k],k,narb,+1);
^
user.cpp:312:20: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized]
addtotree(poz[k],k,narb,-1);
^
user.cpp:293:32: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized]
k=addtotree(poz[k],k,narb,+1);
^
user.cpp:288:20: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized]
addtotree(poz[k],k,narb,-1);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 1080kb | OK | 5 |
| 2 | 0ms | 1176kb | OK | 5 |
| 3 | 0ms | 1092kb | OK | 5 |
| 4 | 4ms | 1172kb | OK | 5 |
| 5 | 0ms | 1116kb | OK | 5 |
| 6 | 0ms | 1112kb | OK | 5 |
| 7 | 4ms | 1164kb | OK | 5 |
| 8 | 0ms | 1108kb | OK | 5 |
| 9 | 4ms | 1168kb | OK | 5 |
| 10 | 4ms | 1168kb | OK | 5 |
| 11 | 4ms | 1172kb | OK | 5 |
| 12 | 380ms | 5184kb | OK | 5 |
| 13 | 496ms | 5188kb | OK | 5 |
| 14 | 420ms | 5184kb | OK | 5 |
| 15 | 428ms | 5188kb | OK | 5 |
| 16 | 360ms | 5188kb | OK | 5 |
| 17 | 664ms | 7244kb | OK | 5 |
| 18 | 992ms | 9248kb | OK | 5 |
| 19 | 988ms | 9248kb | OK | 5 |
| 20 | Depăşit | 9224kb | Time limit exceeded. | 0 |
| Punctaj total | 95 |