ID 5905839
User Хомулло Степан Николаевич
Time 12.12.2021 17:22 (8天 17:23) 17:23>>
Processing 17:22 ... 17:22 (3,36 秒)
File 5905839.cpp (CLang++ 5.0.0 + Address Sanitizer)
Contest 2 курс. Программирование на C++. Турнир 3, осень 2021
Problem C: Initialize vector
Testset
Limits Time: 1s Memory: 4000Mb
Status  [?]
CE Compilation error
source | results
In file included from main.cpp:13:0:
initialize_vector.h: In instantiation of 'auto initialize_vector(const T&, Args ...) [with T = int; Args = {int}]':
main.cpp:25:47:   required from here
initialize_vector.h:13:18: error: 'create' was not declared in this scope
     return create(args..., value);
            ~~~~~~^~~~~~~~~~~~~~~~
initialize_vector.h:13:18: note: suggested alternative: 'fread'
     return create(args..., value);
            ~~~~~~^~~~~~~~~~~~~~~~
            fread
main.cpp: In function 'int main()':
main.cpp:25:14: error: 'void a' has incomplete type
         auto a = initialize_vector<int>(17, 10);
              ^
In file included from main.cpp:13:0:
initialize_vector.h: In instantiation of 'auto initialize_vector(const T&, Args ...) [with T = int; Args = {int, int}]':
main.cpp:31:49:   required from here
initialize_vector.h:13:18: error: 'create' was not declared in this scope
     return create(args..., value);
            ~~~~~~^~~~~~~~~~~~~~~~
initialize_vector.h:13:18: note: suggested alternative: 'fread'
     return create(args..., value);
            ~~~~~~^~~~~~~~~~~~~~~~
            fread
main.cpp:31:14: error: 'void a' has incomplete type
         auto a = initialize_vector<int>(-1, 2, 3);
              ^
In file included from main.cpp:13:0:
initialize_vector.h: In instantiation of 'auto initialize_vector(const T&, Args ...) [with T = std::__cxx11::basic_string<char>; Args = {int, int, int}]':
main.cpp:37:63:   required from here
initialize_vector.h:13:18: error: 'create' was not declared in this scope
     return create(args..., value);
            ~~~~~~^~~~~~~~~~~~~~~~
initialize_vector.h:13:18: note: suggested alternative: 'fread'
     return create(args..., value);
            ~~~~~~^~~~~~~~~~~~~~~~
            fread
main.cpp:37:14: error: 'void a' has incomplete type
         auto a = initialize_vector<std::string>("aba", 3, 4, 2);
              ^
In file included from main.cpp:13:0:
initialize_vector.h: In instantiation of 'auto initialize_vector(const T&, Args ...) [with T = Test; Args = {int}]':
main.cpp:45:47:   required from here
initialize_vector.h:13:18: error: 'create' was not declared in this scope
     return create(args..., value);
            ~~~~~~^~~~~~~~~~~~~~~~
initialize_vector.h:13:18: note: suggested alternative: 'fread'
     return create(args..., value);
            ~~~~~~^~~~~~~~~~~~~~~~
            fread
main.cpp:45:14: error: 'void a' has incomplete type
         auto a = initialize_vector<Test>(4, 10);
              ^
main.cpp:52:14: error: 'void a' has incomplete type
         auto a = initialize_vector<int>(v, 2, 1);
              ^
In file included from main.cpp:13:0:
initialize_vector.h: In instantiation of 'auto initialize_vector(const T&, Args ...) [with T = long int; Args = {int}]':
main.cpp:59:49:   required from here
initialize_vector.h:13:18: error: 'create' was not declared in this scope
     return create(args..., value);
            ~~~~~~^~~~~~~~~~~~~~~~
initialize_vector.h:13:18: note: suggested alternative: 'fread'
     return create(args..., value);
            ~~~~~~^~~~~~~~~~~~~~~~
            fread
main.cpp:59:14: error: 'void a' has incomplete type
         auto a = initialize_vector<int64_t>(w, 1);
              ^
0.090s 0.009s 9