Pagini recente » Borderou de evaluare (job #2350371) | Borderou de evaluare (job #2930659) | Borderou de evaluare (job #941424) | Borderou de evaluare (job #1709390) | Borderou de evaluare (job #1853415)
Borderou de evaluare (job #1853415)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:20: warning: unused variable ‘sverifica’ [-Wunused-variable]
int n,suma = 1,sverifica = 0,poz1,poz2,minim = 99999999;
^
user.cpp:18:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in,"%d",&n);
^
user.cpp:21:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in,"%d",&v[i]);
^
user.cpp:80:59: warning: ‘poz1sirtmp2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
fprintf(out,"%d %d %d\n",minim,poz1sir+1,poz2sir+1);
^
user.cpp:77:20: warning: ‘poz1tmp2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
nr += poz2-poz1 + 1;
^
user.cpp:80:59: warning: ‘poz2sirtmp’ may be used uninitialized in this function [-Wmaybe-uninitialized]
fprintf(out,"%d %d %d\n",minim,poz1sir+1,poz2sir+1);
^
user.cpp:77:20: warning: ‘poz2tmp’ may be used uninitialized in this function [-Wmaybe-uninitialized]
nr += poz2-poz1 + 1;
^
user.cpp:36:49: warning: ‘poz2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
fprintf(out,"%d %d %d\n",minim,poz1+1,poz2+1);
^
user.cpp:36:49: warning: ‘poz1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 268kb | OK | 10 |
| 2 | 0ms | 264kb | Incorect | 0 |
| 3 | 0ms | 268kb | OK | 10 |
| 4 | 0ms | 268kb | OK | 10 |
| 5 | 0ms | 268kb | OK | 10 |
| 6 | 0ms | 264kb | OK | 10 |
| 7 | 0ms | 260kb | OK | 10 |
| 8 | 0ms | 264kb | OK | 10 |
| 9 | 0ms | 272kb | OK | 10 |
| 10 | 4ms | 264kb | Incorect | 0 |
| Punctaj total | 80 |