Borderou de evaluare (job #2055923)
Utilizator | Data | 3 noiembrie 2017 22:12:19 | |
---|---|---|---|
Problema | Popeala | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘std::tuple<std::vector<int, std::allocator<int> >, std::vector<std::vector<int, std::allocator<int> >, std::allocator<std::vector<int, std::allocator<int> > > >, int> Read(const char*)’:
user.cpp:11:86: error: return type ‘class std::tuple<std::vector<int, std::allocator<int> >, std::vector<std::vector<int, std::allocator<int> >, std::allocator<std::vector<int, std::allocator<int> > > >, int>’ is incomplete
std::tuple<std::vector<int>,std::vector<std::vector<int>>, int> Read(const char* file) {
^
user.cpp:23:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < line.size(); j++)
^
user.cpp:26:40: error: ‘make_tuple’ was not declared in this scope
return make_tuple(scores, matrix, k);
^
user.cpp: In function ‘std::vector<long long int> Solve(const std::tuple<std::vector<int, std::allocator<int> >, std::vector<std::vector<int, std::allocator<int> >, std::allocator<std::vector<int, std::allocator<int> > > >, int>&)’:
user.cpp:33:5: error: ‘tie’ is not a member of ‘std’
std::tie(scores, matrix, k) = input;
^
user.cpp:52:76: error: ‘numeric_limits’ is not a member of ‘std’
std::vector<std::vector<long long>>dp(tests, std::vector<long long>(k, std::numeric_limits<long long>::max()/3));
^
user.cpp:52:72: error: expected primary-expression before ‘(’ token
std::vector<std::vector<long long>>dp(tests, std::vector<long long>(k, std::numeric_limits<long long>::max()/3));
^
user.cpp:52:76: error: ‘numeric_limits’ is not a member of ‘std’
std::vector<std::vector<long long>>dp(tests, std::vector<long long>(k, std::numeric_limits<long long>::max()/3));
^
user.cpp:52:96: error: expected primary-expression before ‘long’
std::vector<std::vector<long long>>dp(tests, std::vector<long long>(k, std::numeric_limits<long long>::max()/3));
^
user.cpp: In function ‘int main()’:
user.cpp:80:86: error: invalid use of void expression
Write<std::vector<long long>, long long>("popeala.out",Solve(Read(("popeala.in"))));
^
user.cpp: In function ‘std::tuple<std::vector<int, std::allocator<int> >, std::vector<std::vector<int, std::allocator<int> >, std::allocator<std::vector<int, std::allocator<int> > > >, int> Read(const char*)’:
user.cpp:12:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(file, "r", stdin);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !