Pagini recente » Borderou de evaluare (job #3322523) | Borderou de evaluare (job #3347611) | Borderou de evaluare (job #3327937) | Borderou de evaluare (job #3330251) | Borderou de evaluare (job #3333326)
Borderou de evaluare (job #3333326)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:54:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::deque<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
54 | for(int i=0; i<m.size(); i++)
| ~^~~~~~~~~
main.cpp:70:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::deque<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
70 | if(pozmin>m.size()/2)
| ~~~~~~^~~~~~~~~~~
main.cpp:86:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::deque<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
86 | if(poz>m.size()/2)
| ~~~^~~~~~~~~~~
main.cpp:107:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::deque<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
107 | if(poz>m.size()/2)
| ~~~^~~~~~~~~~~
main.cpp:117:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
117 | for(int i=0; i<o.size(); i++)
| ~^~~~~~~~~
main.cpp:33:16: warning: unused variable 'cnt' [-Wunused-variable]
33 | int n, cnt=0, small=9999, minok=0, pozmin, poz=0;
| ^~~
main.cpp:70:28: warning: 'pozmin' may be used uninitialized [-Wmaybe-uninitialized]
70 | if(pozmin>m.size()/2)
| ^~~~~~
main.cpp:33:44: note: 'pozmin' was declared here
33 | int n, cnt=0, small=9999, minok=0, pozmin, poz=0;
| ^~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 303kb | Corect! | 10 |
| 2 | 0ms | 303kb | Corect! | 10 |
| 3 | 0ms | 303kb | Incorect! | 0 |
| 4 | 0ms | 303kb | Incorect! | 0 |
| 5 | 1ms | 303kb | Incorect! | 0 |
| 6 | 2ms | 946kb | Incorect! | 0 |
| 7 | 3ms | 946kb | Incorect! | 0 |
| 8 | 14ms | 2629kb | Incorect! | 0 |
| 9 | 14ms | 2736kb | Incorect! | 0 |
| 10 | 14ms | 2732kb | Incorect! | 0 |
| Punctaj total | 20 |