Problem | dominoes |
---|---|
User | Pan |
Submission Time | 2023-12-03 10:58:06 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
dominoes.cpp: In function ‘int main()’:
dominoes.cpp:57:14: error: ‘upper_bound’ was not declared in this scope
57 | int ind = upper_bound(pos.begin(), pos.end(), h[i]+pos[i])-pos.begin();
| ^~~~~~~~~~~
dominoes.cpp:77:15: error: ‘upper_bound’ was not declared in this scope
77 | int ind = upper_bound(pos.begin(), pos.end(), h[p]+pos[p])-pos.begin();
| ^~~~~~~~~~~
dominoes.cpp:87:14: error: ‘upper_bound’ was not declared in this scope
87 | int ind = upper_bound(pos.begin(), pos.end(), h[p]+pos[p])-pos.begin();
| ^~~~~~~~~~~