Problem | minimum |
---|---|
User | burningout |
Submission Time | 2025-03-04 10:45:29 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
minimum.cpp:3:36: error: ‘vector’ has not been declared
3 | int minSubArrayLen(int target, vector<int>& nums) {
| ^~~~~~
minimum.cpp:3:42: error: expected ‘,’ or ‘...’ before ‘<’ token
3 | int minSubArrayLen(int target, vector<int>& nums) {
| ^
minimum.cpp: In member function ‘int Solution::minSubArrayLen(int, int)’:
minimum.cpp:6:19: error: ‘INT_MAX’ was not declared in this scope
6 | int res = INT_MAX;
| ^~~~~~~
minimum.cpp:1:1: note: ‘INT_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
+++ |+#include <climits>
1 | class Solution {
minimum.cpp:8:33: error: ‘nums’ was not declared in this scope
8 | for (right = 0; right < nums.size(); right++){
| ^~~~
minimum.cpp:11:23: error: ‘m