| Problem | photo |
|---|---|
| User | andikawahyudi |
| Submission Time | 2026-02-06 23:54:04 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
photo.cpp: In function ‘int main()’:
photo.cpp:30:21: error: ‘minH’ was not declared in this scope; did you mean ‘min’?
30 | minH = min(min, *ptr);
| ^~~~
| min
photo.cpp:30:41: error: ‘min’ cannot be used as a function
30 | minH = min(min, *ptr);
| ^
photo.cpp:33:17: error: ‘maxH’ was not declared in this scope; did you mean ‘max’?
33 | maxH = max(max, *ptr);
| ^~~~
| max
photo.cpp:33:37: error: ‘max’ cannot be used as a function
33 | maxH = max(max, *ptr);
| ^
photo.cpp:36:37: error: ‘min’ cannot be used as a function
36 | ans = min(ans, max - min);
| ^