add aloha/2025hcpc
This commit is contained in:
11
storage/aloha/cpp/2025hcpc-div1-F.cpp
Normal file
11
storage/aloha/cpp/2025hcpc-div1-F.cpp
Normal file
@@ -0,0 +1,11 @@
|
||||
#include <malloc.h>
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
|
||||
int main() {
|
||||
uint64_t n;
|
||||
|
||||
scanf("%d", &n);
|
||||
double p = (n - 1) * (n) / (double) 4;
|
||||
printf("%f\n", p);
|
||||
}
|
||||
Reference in New Issue
Block a user