Pagini recente »
Borderou de evaluare (job #627055)
|
Borderou de evaluare (job #501727)
|
Borderou de evaluare (job #485774)
|
Borderou de evaluare (job #479657)
|
Borderou de evaluare (job #806247)
Borderou de evaluare (job #806247)
Raport evaluator
Compilare:
main.cpp: In function 'int minDeLaXCuStalpiDeLaI(std::vector<std::vector<int> >&, int, int, int&)':
main.cpp:14:16: warning: overflow in conversion from '__gnu_cxx::__promote_2<int, int, double, double>::__type' {aka 'double'} to 'int' changes value from '-1.0e+10' to '-2147483648' [-Woverflow]
14 | int maxx=-1*pow(10,10), maxxIdx;
| ~~^~~~~~~~~~~
main.cpp:15:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'unsigned int'} [-Wsign-compare]
15 | while(i<a.size() && a[i][st] <= x) {
| ~^~~~~~~~~
main.cpp:22:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'unsigned int'} [-Wsign-compare]
22 | while(i<a.size() && a[i][dr] <= maxx) i++;
| ~^~~~~~~~~
main.cpp:23:9: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'unsigned int'} [-Wsign-compare]
23 | if(i==a.size()) return 1;
| ~^~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:35:12: warning: unused variable 'o' [-Wunused-variable]
35 | int n, o=0; fin>>n;
| ^
main.cpp: In function 'int minDeLaXCuStalpiDeLaI(std::vector<std::vector<int> >&, int, int, int&)':
main.cpp:24:28: warning: 'maxxIdx' may be used uninitialized [-Wmaybe-uninitialized]
24 | if(a[i][st] > a[maxxIdx][dr]) { /*conditia asta conteaza daca ai:
| ^
main.cpp:14:29: note: 'maxxIdx' was declared here
14 | int maxx=-1*pow(10,10), maxxIdx;
| ^~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
507 kb
|
OK
|
10
|
2
|
1 ms
|
507 kb
|
OK
|
10
|
3
|
1 ms
|
245 kb
|
OK
|
10
|
4
|
9 ms
|
512 kb
|
Incorect
|
0
|
5
|
9 ms
|
512 kb
|
Incorect
|
0
|
6
|
89 ms
|
1560 kb
|
OK
|
10
|
7
|
19 ms
|
2600 kb
|
Memory limit exceeded
|
0
|
8
|
19 ms
|
2871 kb
|
Memory limit exceeded
|
0
|
9
|
19 ms
|
2871 kb
|
Memory limit exceeded
|
0
|
10
|
19 ms
|
2867 kb
|
Memory limit exceeded
|
0
|
Punctaj total
|
40
|