C Implementation of Problem 836
View source code here on GitHub!
Includes
Solution
-
char *p0836()
-
int main(int argc, char const *argv[])
Note
This function is only present in the Python test runner, or when compiling as a standalone program. It is not present when compiling for the Unity test runner.
1/*
2Project Euler Problem 836
3
4Alright, this was funny
5
6Problem:
7
8Let A be an **affine plane** over a **radically integral local field** F with residual characteristic p.
9
10We consider an **open oriented line section** U of A with normalized Haar measure m.
11
12Define f(m,p) as the maximal possible discriminant of the **jacobian** associated to the
13**orthogonal kernel embedding** of U into A.
14
15Find f(20230401, 57). Give as your answer the concatenation of the first letters of each bolded word.
16*/
17#ifndef EULER_P0836
18#define EULER_P0836
19#include <stdint.h>
20#include <inttypes.h>
21#include <stdio.h>
22#include "include/macros.h"
23
24const char *EMSCRIPTEN_KEEPALIVE p0836() {
25 return "aprilfoolsjoke";
26}
27
28PROGRAM_TAIL("%s", p0836)
29#endif