Advertisement
Guest User

Untitled

a guest
Jan 4th, 2025
2,401
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.32 KB | Source Code | 0 0
  1. int solve(vector<int> &input) {
  2.     int ans = 0;
  3.     int windowStart = 0;
  4.     for (int windowEnd = 0; windowEnd < input.size(); windowEnd++) {
  5.         // TODO: update variable
  6.         while () { //TODO: check condition
  7.             //TODO: modify bounds
  8.             windowStart++;
  9.         }
  10.         //TODO: update answer
  11.     }
  12.     return ans;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement