Skip to content

Commit

Permalink
Add 13131.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Hiyabye committed Jun 9, 2024
1 parent 4bd77b3 commit 16e2440
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions 13xxx/13131.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#include <iostream>
using namespace std;

void solve(void) {
int n; cin >> n;

cout << 2*n*n*n + 30*n*n + 38*n;
}

int main(void) {
ios::sync_with_stdio(false);
cin.tie(nullptr);

solve();
return 0;
}

0 comments on commit 16e2440

Please sign in to comment.