Skip to content

Commit

Permalink
removed unnecessary macros from c++ sol
Browse files Browse the repository at this point in the history
  • Loading branch information
JoltedCowIceCream authored Jan 14, 2025
1 parent 63dc474 commit 855da01
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions solutions/silver/usaco-990.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,7 @@ This process can be repeated for each possible value of $b$ from $1$ to $max(B_i
#include <bits/stdc++.h>
using namespace std;

typedef long long ll;
typedef long double ld;

#define mpa make_pair
#define pb push_back
#define ins insert
#define f first
#define s second
#define all(x) x.begin(), x.end()
#define nl "\n"

void fileIO(string filename) {
freopen((filename + ".in").c_str(), "r", stdin);
Expand Down Expand Up @@ -89,7 +80,7 @@ void solve() {
for (int j = 0; j < N && j + amount < K; j++) { cur += A[j] % i; }
mx = max(mx, cur);
}
cout << mx << nl;
cout << mx << "\n";
}

int main() {
Expand Down

0 comments on commit 855da01

Please sign in to comment.