add aloha/2025hcpc

This commit is contained in:
2025-11-29 16:36:55 +09:00
parent 5b238eb794
commit d668bc1d85
8 changed files with 235 additions and 1 deletions

View 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);
}