Problem | dna_ioi |
---|---|
User | PlayVoltz |
Submission Time | 2023-09-23 20:50:04 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
dna_ioi.cpp: In function ‘int get_distance(int, int)’:
dna_ioi.cpp:64:7: error: ‘min’ was not declared in this scope; did you mean ‘std::min’?
64 | val+=min(tc, ct)+min(ac, ca)+min(ta, at);
| ^~~
| std::min
In file included from /usr/include/c++/9/algorithm:62,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:65,
from dna_ioi.cpp:2:
/usr/include/c++/9/bits/stl_algo.h:3456:5: note: ‘std::min’ declared here
3456 | min(initializer_list<_Tp> __l, _Compare __comp)
| ^~~