Problem photo
User 3lvian
Submission Time 2024-02-25 11:37:42
Score 0
Max Time N/A
Max Memory N/A

Compile Error

photo.cpp: In function ‘int solve(int, int, std::vector<std::vector<int> >&)’:
photo.cpp:87:11: error: ‘min_diff’ was not declared in this scope
87 | if (min_diff >= global_min_diff) {
| ^~~~~~~~
photo.cpp: In function ‘int main()’:
photo.cpp:101:31: error: expected ‘}’ at end of input
101 | for (int i = 0; i < n; ++i) {
| ^
photo.cpp:101:31: error: expected ‘}’ at end of input
photo.cpp:96:12: note: to match this ‘{’
96 | int main() {
| ^