aboutsummaryrefslogtreecommitdiff
path: root/max_performance_team.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'max_performance_team.cpp')
-rw-r--r--max_performance_team.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/max_performance_team.cpp b/max_performance_team.cpp
index 07a6e6e..a7e4be8 100644
--- a/max_performance_team.cpp
+++ b/max_performance_team.cpp
@@ -2,7 +2,7 @@
class Solution {
public:
- const int mod = (int)1e9 + 7;
+ const int mod = 1e9 + 7;
int maxPerformance(int n, vector<int> &speed, vector<int> &efficiency,
int k) {
priority_queue<int, vector<int>, greater<int>> pqvg;