Pagini recente » Borderou de evaluare (job #259810) | Borderou de evaluare (job #441452) | Borderou de evaluare (job #1436650) | Borderou de evaluare (job #2474852) | Borderou de evaluare (job #2964002)
Borderou de evaluare (job #2964002)
Raport evaluator
Compilare:
main.cpp: In function 'bool verif(int)':
main.cpp:30:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
30 | for(int i=vec.size()-1;i>=vec.size()-x;i--)
| ~^~~~~~~~~~~~~~
main.cpp:41:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
41 | for(int i=vec.size()-1;i>=vec.size()-x;i--)
| ~^~~~~~~~~~~~~~
main.cpp: In function 'int calc2()':
main.cpp:69:15: warning: 'unde' may be used uninitialized in this function [-Wmaybe-uninitialized]
69 | int mxm=0,unde,pasi=0;
| ^~~~
main.cpp: In function 'bool verif(int)':
main.cpp:13:15: warning: 'unde' may be used uninitialized in this function [-Wmaybe-uninitialized]
13 | int mxm=0,unde;
| ^~~~
main.cpp: In function 'int main()':
main.cpp:223:23: warning: 'mij' may be used uninitialized in this function [-Wmaybe-uninitialized]
223 | int st,dr,mij;
| ^~~
main.cpp:219:28: warning: 'mij' may be used uninitialized in this function [-Wmaybe-uninitialized]
219 | rez=min(rez,mij+1);
| ~~~^~
main.cpp:193:22: warning: 'unde' may be used uninitialized in this function [-Wmaybe-uninitialized]
193 | for(int i=1;i<unde;i++)
| ~^~~~~
main.cpp:147:38: warning: 'unde' may be used uninitialized in this function [-Wmaybe-uninitialized]
147 | if(unde>1 && unde<n && h[unde-1]>h[n])
| ~~~~^~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 184kb | Corect | 5 |
2 | 0ms | 184kb | Corect | 5 |
3 | 0ms | 184kb | Corect | 5 |
4 | 0ms | 184kb | Corect | 5 |
5 | 0ms | 184kb | Corect | 4 |
6 | 0ms | 184kb | Corect | 4 |
7 | 0ms | 184kb | Corect | 4 |
8 | 0ms | 184kb | Corect | 4 |
9 | 0ms | 184kb | Killed by Signal 11 | 0 |
10 | 3ms | 315kb | Corect | 4 |
11 | 2ms | 315kb | Corect | 4 |
12 | 5ms | 315kb | Corect | 4 |
13 | 11ms | 577kb | Incorect | 0 |
14 | 8ms | 708kb | Incorect | 0 |
15 | 12ms | 708kb | Incorect | 0 |
16 | 25ms | 851kb | Incorect | 0 |
17 | 24ms | 815kb | Incorect | 0 |
18 | 13ms | 708kb | Incorect | 0 |
19 | 12ms | 839kb | Incorect | 0 |
20 | 19ms | 839kb | Corect | 5 |
21 | 33ms | 6291kb | Time limit exceeded | 0 |
22 | 30ms | 6295kb | Time limit exceeded | 0 |
Punctaj total | 53 |