Pagini recente »
Borderou de evaluare (job #262091)
|
Borderou de evaluare (job #627421)
|
Borderou de evaluare (job #189645)
|
Borderou de evaluare (job #212061)
|
Borderou de evaluare (job #780305)
Borderou de evaluare (job #780305)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:14:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
14 | for(int i=0; i<k; i++)
| ~^~
main.cpp:19:30: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
19 | while(tot+baza*(baza+1)/2<n)
| ~~~~~~~~~~~~~~~~~~~^~
main.cpp:25:19: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
25 | while(v[i]<tot)
| ~~~~^~~~
main.cpp:36:13: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
36 | if(x<tot && x>tc)
| ~^~~~
main.cpp:36:22: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
36 | if(x<tot && x>tc)
| ~^~~
main.cpp:39:17: warning: 'pmag' may be used uninitialized [-Wmaybe-uninitialized]
39 | cout<<pmag<<"\n"<<c<<"\n"<<n-tot<<"\n"<<pmax;
| ^~~~
main.cpp:18:32: note: 'pmag' was declared here
18 | int nmaxc=0, nactc=0, c=0, pmag, baza=2, tot=0, pmax, i=0, tc=0;
| ^~~~
main.cpp:39:45: warning: 'pmax' may be used uninitialized [-Wmaybe-uninitialized]
39 | cout<<pmag<<"\n"<<c<<"\n"<<n-tot<<"\n"<<pmax;
| ^~~~
main.cpp:18:53: note: 'pmax' was declared here
18 | int nmaxc=0, nactc=0, c=0, pmag, baza=2, tot=0, pmax, i=0, tc=0;
| ^~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
2 ms
|
245 kb
|
OK
|
10
|
2
|
2 ms
|
245 kb
|
OK
|
10
|
3
|
1 ms
|
245 kb
|
OK
|
10
|
4
|
1 ms
|
245 kb
|
OK
|
10
|
5
|
2 ms
|
245 kb
|
a) OK; b) OK; c) OK d) linie incorecta
|
6
|
6
|
1 ms
|
249 kb
|
a) OK; b) OK; c) OK d) linie incorecta
|
6
|
7
|
1 ms
|
245 kb
|
a) linie incorecta; b) OK; c) OK d) linie incorecta
|
4
|
8
|
1 ms
|
241 kb
|
a) linie incorecta; b) OK; c) OK d) linie incorecta
|
4
|
9
|
39 ms
|
507 kb
|
OK
|
10
|
10
|
4 ms
|
245 kb
|
a) linie incorecta; b) OK; c) OK d) linie incorecta
|
4
|
Punctaj total
|
74
|