| Problem | bestplace |
|---|---|
| User | CHEN115217 |
| Submission Time | 2025-01-13 16:07:36 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
bestplace.cpp: In function ‘int main()’:
bestplace.cpp:11:14: error: ‘INT_MAX’ was not declared in this scope
11 | int best = INT_MAX, ansX = 0, ansY = 0;
| ^~~~~~~
bestplace.cpp:2:1: note: ‘INT_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
1 | #include <iostream>
+++ |+#include <climits>
2 | using namespace std;
bestplace.cpp:24:9: error: ‘ansX’ was not declared in this scope
24 | ansX = ix;
| ^~~~
bestplace.cpp:25:9: error: ‘ansY’ was not declared in this scope
25 | ansY = iy;
| ^~~~
bestplace.cpp:30:11: error: ‘ansX’ was not declared in this scope
30 | cout << ansX << " " << ansY << endl;
| ^~~~
bestplace.cpp:30:26: error: ‘ansY’ was not declared in this scope
30 | cout << ansX << " " << ansY << endl;
|