Skip to content

Commit

Permalink
Add 14264.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Hiyabye committed Jan 19, 2024
1 parent 637e0be commit d55f086
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions 14xxx/14264.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#include <cmath>
#include <iomanip>
#include <iostream>
using namespace std;

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

cout << fixed << setprecision(10) << sqrt(3) / 4 * l * l;
}

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

solve();
return 0;
}

0 comments on commit d55f086

Please sign in to comment.