count-of-range-sum 1.0.0
Count of Range Sum
Loading...
Searching...
No Matches
main.cpp File Reference
#include <bits/stdc++.h>
Include dependency graph for main.cpp:

Go to the source code of this file.

Data Structures

class  Solution
 

Functions

int main ()
 

Function Documentation

◆ main()

int main ( )

Definition at line 27 of file main.cpp.

28{
29 vector<int> nums = {-2,5,-1};
30 cout << "output: " << Solution().countRangeSum(nums, -2, 2) << endl;
31 return 0;
32}
int countRangeSum(vector< int > &nums, int lower, int upper)
Definition main.cpp:8

References Solution::countRangeSum().