Pagini recente » Borderou de evaluare (job #2937468) | Borderou de evaluare (job #2288342) | Borderou de evaluare (job #2196215) | Borderou de evaluare (job #104142) | Borderou de evaluare (job #3211953)
Borderou de evaluare (job #3211953)
Raport evaluator
Compilare:
main.cpp: In function 'void kadane(std::vector<int>, int&, int&, int&)':
main.cpp:6:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
6 | for(int i = 0; i < v.size(); i++){
| ~~^~~~~~~~~~
In function 'void citire()',
inlined from 'int main()' at main.cpp:40:11:
main.cpp:32:46: warning: 'dr' may be used uninitialized [-Wmaybe-uninitialized]
32 | std::cout << maxx << st+1 << " " << dr+1;
| ^
main.cpp: In function 'int main()':
main.cpp:29:13: note: 'dr' was declared here
29 | int st,dr;
| ^~
In function 'void citire()',
inlined from 'int main()' at main.cpp:40:11:
main.cpp:32:36: warning: 'st' may be used uninitialized [-Wmaybe-uninitialized]
32 | std::cout << maxx << st+1 << " " << dr+1;
| ^~~
main.cpp: In function 'int main()':
main.cpp:29:10: note: 'st' was declared here
29 | int st,dr;
| ^~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 303kb | Incorect | 0 |
2 | 0ms | 303kb | Incorect | 0 |
3 | 0ms | 303kb | Incorect | 0 |
4 | 0ms | 303kb | Incorect | 0 |
5 | 0ms | 303kb | Incorect | 0 |
6 | 1ms | 303kb | Incorect | 0 |
7 | 1ms | 557kb | Incorect | 0 |
8 | 1ms | 557kb | Incorect | 0 |
9 | 4ms | 1208kb | Incorect | 0 |
10 | 9ms | 1445kb | Incorect | 0 |
11 | 19ms | 3641kb | Incorect | 0 |
12 | 29ms | 5132kb | Incorect | 0 |
13 | 34ms | 4632kb | Incorect | 0 |
14 | 44ms | 4722kb | Incorect | 0 |
15 | 233ms | 40583kb | Incorect | 0 |
16 | 252ms | 44572kb | Incorect | 0 |
17 | 257ms | 44564kb | Incorect | 0 |
18 | 279ms | 48476kb | Incorect | 0 |
19 | 268ms | 48586kb | Incorect | 0 |
20 | 272ms | 48480kb | Incorect | 0 |
Punctaj total | 0 |