| Problem | helloworld |
|---|---|
| User | Random52 |
| Submission Time | 2024-12-07 07:26:16 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
helloworld.cpp:4:23: error: ‘size_t’ does not name a type
4 | SegmentTree(const size_t& init_start, const size_t& init_end) {
| ^~~~~~
helloworld.cpp:1:1: note: ‘size_t’ is defined in header ‘<cstddef>’; did you forget to ‘#include <cstddef>’?
+++ |+#include <cstddef>
1 | template <typename T>
helloworld.cpp:4:49: error: ‘size_t’ does not name a type
4 | SegmentTree(const size_t& init_start, const size_t& init_end) {
| ^~~~~~
helloworld.cpp:4:49: note: ‘size_t’ is defined in header ‘<cstddef>’; did you forget to ‘#include <cstddef>’?
helloworld.cpp:12:23: error: ‘size_t’ does not name a type
12 | SegmentTree(const size_t& init_start, const size_t& init_end, const std::vector<T>& init_data) {
| ^~~~~~
helloworld.cpp:12:23: note: ‘size_t’ is defined in header ‘<cstddef