Pagini recente » Borderou de evaluare (job #503989) | Borderou de evaluare (job #3138413) | Borderou de evaluare (job #935996) | Borderou de evaluare (job #1446070) | Borderou de evaluare (job #1230369)
Borderou de evaluare (job #1230369)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:60:59: warning: variable ‘blat’ set but not used [-Wunused-but-set-variable]
int n, m, i, j, lg, poz1, poz2, barfe, max, cc, nr = 0, blat;
^
user.cpp:58:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ttg.in", "r", stdin);
^
user.cpp:59:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ttg.out", "w", stdout);
^
user.cpp:61:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &m, &n);
^
user.cpp:65:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &lg);
^
user.cpp:68:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &cc);
^
user.cpp:130:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &lg);
^
user.cpp: In function ‘int cabin(int, int, int)’:
user.cpp:38:24: warning: ‘last’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int sta, dre, med, last;
^
user.cpp: In function ‘int main()’:
user.cpp:132:24: warning: ‘last’ may be used uninitialized in this function [-Wmaybe-uninitialized]
barfe = rez[poz1].y;
^
user.cpp:111:24: warning: ‘last’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(rez[poz1].y > a.y)
^
user.cpp:113:16: warning: ‘last’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(a.y > rez[poz2].y)
^
user.cpp:95:22: warning: ‘last’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(rez[st].y < rez[poz1].y && rez[poz1].x <= pairs[i].y)
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
✓ | 1 | 156ms | 1016kb | OK | 10 |
✗ | 2 | 144ms | 1012kb | OK | 10 |
✗ | 3 | 64ms | 268kb | OK | 10 |
✗ | 4 | 60ms | 268kb | OK | 10 |
✗ | 5 | 140ms | 1004kb | OK | 10 |
✗ | 6 | 140ms | 988kb | OK | 10 |
✗ | 7 | 84ms | 996kb | OK | 10 |
✗ | 8 | 88ms | 1012kb | OK | 10 |
✓ | 9 | 160ms | 1016kb | OK | 10 |
✗ | 10 | 156ms | 988kb | OK | 10 |
Punctaj total | 100 |