maximum-absolute-sum-of-any-subarray 1.0.0
Maximum Absolute Sum of Any Subarray
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 32 of file main.cpp.

33{
34 vector<int> nums = {1, -3, 2, 3, -4};
35 cout << "output: " << Solution().maxAbsoluteSum(nums) << '\n';
36 return 0;
37}
int maxAbsoluteSum(vector< int > &nums)
Definition main.cpp:8

References Solution::maxAbsoluteSum().