Pagini recente » Borderou de evaluare (job #825837) | Borderou de evaluare (job #721131) | Borderou de evaluare (job #1061839) | Borderou de evaluare (job #554603) | Borderou de evaluare (job #2276222)
Borderou de evaluare (job #2276222)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:8:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("studenti.in","r",stdin);
^
main.cpp:9:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("studenti.out","w",stdout);
^
main.cpp:10:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:13:35: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&h[i],&g[i]);
^
main.cpp:42:11: warning: 'hp' may be used uninitialized in this function [-Wmaybe-uninitialized]
g1=g[hp];
~~^~~~~~
main.cpp:43:11: warning: 'gp' may be used uninitialized in this function [-Wmaybe-uninitialized]
h2=h[gp];
~~^~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | Incorect | 0 | 0 |
2 | 2ms | 131kb | Incorect | 0 | 0 |
3 | 2ms | 131kb | OK | 10 | 10 |
4 | 2ms | 131kb | Incorect | 0 | 0 |
5 | 2ms | 131kb | Incorect | 0 |
6 | 2ms | 131kb | Incorect | 0 |
8 | 2ms | 131kb | OK | 10 |
7 | 2ms | 131kb | OK | 10 | 20 |
9 | 2ms | 131kb | OK | 10 |
10 | 2ms | 131kb | OK | 10 | 10 |
Punctaj total | 40 |