Pagini recente » Borderou de evaluare (job #2611295) | Borderou de evaluare (job #1623476) | Borderou de evaluare (job #1742413) | Borderou de evaluare (job #2565561) | Borderou de evaluare (job #2480654)
Borderou de evaluare (job #2480654)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:9:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&n);
^~~~~~~~~~~~~~~~~~~
main.c:10:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&v[0]);
^~~~~~~~~~~~~~~~~~~~~~
main.c:13:9: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&v[i]);
^~~~~~~~~~~~~~~~~~~~~~
main.c:27:36: warning: 'maxi1' may be used uninitialized in this function [-Wmaybe-uninitialized]
max=(long long)v[maxi1-1]*v[maxi1]*v[maxi2]+s-v[maxi1-1]-v[maxi1]-v[maxi2];
~^~~~~~~
main.c:27:45: warning: 'maxi2' may be used uninitialized in this function [-Wmaybe-uninitialized]
max=(long long)v[maxi1-1]*v[maxi1]*v[maxi2]+s-v[maxi1-1]-v[maxi1]-v[maxi2];
~^~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 3ms | 131kb | OK | 10 |
| 2 | 2ms | 131kb | Incorect | 0 |
| 3 | 2ms | 131kb | OK | 10 |
| 4 | 2ms | 131kb | OK | 10 |
| 5 | 3ms | 131kb | OK | 10 |
| 6 | 2ms | 131kb | Incorect | 0 |
| 7 | 3ms | 131kb | Incorect | 0 |
| 8 | 2ms | 131kb | Incorect | 0 |
| 9 | 3ms | 131kb | Incorect | 0 |
| 10 | 3ms | 131kb | OK | 10 |
| Punctaj total | 50 |