Submisie


Utilizator
Problema
Data
Compilator
Scor
16 Februarie 2024, 13:45
c++14
0.0

Mesaj compilare

        main.cpp: In member function ‘TREE::node TREE::concat(TREE::node, TREE::node)’:
main.cpp:42:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<long long unsigned int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   42 |                 for (int i = 1; i < A.V.size(); i++) {
      |                                 ~~^~~~~~~~~~~~
main.cpp:43:34: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<long long unsigned int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   43 |                         while (j < B.V.size() && B.V[j] <= A.V[i]) {
      |                                ~~^~~~~~~~~~~~
main.cpp:45:42: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<long long unsigned int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   45 |                                 while (j < B.V.size() - 1 && B.V[j] == B.V[j + 1]) {
      |                                        ~~^~~~~~~~~~~~~~~~
main.cpp:56:38: warning: statement has no effect [-Wunused-value]
   56 |                                 for (aux; aux < j; aux++)
      |                                      ^~~
main.cpp:67:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<long long unsigned int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   67 |                 while (j < B.V.size()) {
      |                        ~~^~~~~~~~~~~~
main.cpp: In member function ‘long long unsigned int TREE::fracCasc(int, int, int, long long unsigned int, int, int, int)’:
main.cpp:130:33: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<long long unsigned int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  130 |                         if (poz >= A[index].V.size())
      |                             ~~~~^~~~~~~~~~~~~~~~~~~~

    

Detalii evaluare

Test
Mesaj evaluator
Timp execuție
Memorie
Scor
1
wrong
0,022
22.62MB
0,0
2
wrong
0,021
22.73MB
0,0
3
wrong
0,023
22.75MB
0,0
4
wrong
0,021
22.75MB
0,0
5
wrong
0,021
22.75MB
0,0
6
TimeLimitExceeded
0,752
26.39MB
0,0
7
TimeLimitExceeded
0,755
25.74MB
0,0
8
TimeLimitExceeded
0,753
25.55MB
0,0
9
TimeLimitExceeded
0,752
25.58MB
0,0
10
TimeLimitExceeded
0,755
25.6MB
0,0
11
wrong
0,021
22.84MB
0,0
12
wrong
0,021
22.75MB
0,0
13
wrong
0,021
22.79MB
0,0
14
wrong
0,021
22.74MB
0,0
15
wrong
0,021
22.73MB
0,0
16
wrong
0,021
22.72MB
0,0
17
wrong
0,021
22.72MB
0,0
18
wrong
0,021
22.76MB
0,0
19
wrong
0,021
22.73MB
0,0
20
wrong
0,021
22.74MB
0,0