Pagini recente » Borderou de evaluare (job #667198) | Borderou de evaluare (job #2811161) | Borderou de evaluare (job #973757) | Borderou de evaluare (job #171491) | Borderou de evaluare (job #1887757)
Borderou de evaluare (job #1887757)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:14:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:17:52: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf%lf",&vPuncte[i].x,&vPuncte[i].y);
^
user.cpp: In function ‘int main()’:
user.cpp:80:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("infasuratoare.in","r",stdin);
^
user.cpp:81:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("infasuratoare.out","w",stdout);
^
user.cpp: In function ‘void citire()’:
user.cpp:22:37: warning: ‘indice’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(vPuncte[indice].y>vPuncte[i].y)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 484kb | Corect | 10 |
2 | 0ms | 484kb | Corect | 10 |
3 | 40ms | 740kb | Corect | 10 |
4 | 40ms | 736kb | Corect | 10 |
5 | 40ms | 736kb | Corect | 10 |
6 | 296ms | 2152kb | Corect | 10 |
7 | 300ms | 2160kb | Corect | 10 |
8 | 296ms | 2152kb | Corect | 10 |
9 | 296ms | 2160kb | Corect | 10 |
10 | 292ms | 2156kb | Corect | 10 |
Punctaj total | 100 |