Skaičių skaičiavimas
- [1] 2024-11-16 13:24 (0)
- [2] 2024-11-16 13:27 (0)
- [3] 2024-11-16 13:30 (0)
- [4] 2024-11-16 13:34 (0)
- [5] 2024-11-16 13:37 (13.6)
- [6] 2024-11-16 13:41 (9.1)
- [7] 2024-11-16 14:22 (45.5)
- [8] 2024-11-16 14:36 (45.5)
- [9] 2024-11-16 15:03 (18.2)
- [10] 2024-11-23 13:55 (18.2)
- [11] 2024-11-23 14:03 (100)
Taškai: 0
Compile: FAIL
skaiciu_skaiciavimas.cpp: In function ‘int c(int, std::vector<int>)’: skaiciu_skaiciavimas.cpp:6:17: error: ‘class std::vector<int>’ has no member named ‘length’ 6 | int x = arr.length()/2; | ^~~~~~ skaiciu_skaiciavimas.cpp:7:27: error: ‘class std::vector<int>’ has no member named ‘length’ 7 | int y = ciel(ciel(arr.length()/2)/2); | ^~~~~~ skaiciu_skaiciavimas.cpp:7:18: error: ‘ciel’ was not declared in this scope; did you mean ‘ceil’? 7 | int y = ciel(ciel(arr.length()/2)/2); | ^~~~ | ceil skaiciu_skaiciavimas.cpp:7:13: error: ‘ciel’ was not declared in this scope; did you mean ‘ceil’? 7 | int y = ciel(ciel(arr.length()/2)/2); | ^~~~ | ceil skaiciu_skaiciavimas.cpp:8:29: error: ‘class std::vector<int>’ has no member named ‘length’ 8 | for (int i = 1; i < arr.length() ; i = i*2) { | ^~~~~~
nr. | result | time | message |
---|