| Problem | fraud |
|---|---|
| User | CHEN115217 |
| Submission Time | 2025-01-21 09:20:25 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
fraud.cpp: In function ‘int main()’:
fraud.cpp:8:9: error: ‘INT_MAX’ was not declared in this scope
8 | int a[INT_MAX];
| ^~~~~~~
fraud.cpp:3:1: note: ‘INT_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
2 | #include <vector>
+++ |+#include <climits>
3 | using namespace std;
fraud.cpp:12:5: error: ‘a’ was not declared in this scope
12 | a[i] = point;
| ^
fraud.cpp:16:5: error: ‘b’ was not declared in this scope
16 | b[i] = point;
| ^
fraud.cpp:19:9: error: ‘a’ was not declared in this scope
19 | if (a[i] < a[i-1]) {
| ^