>>55No mister Bond, what you assume is that a intmax_t fits in a long double, which is a false assumption and can lead to program bugs.
Since you didn't define main as a function returning int and rather, you let it be implied, you are not working with C99 but rather C89 and thus you don't have or strtoimax.
You have FAILED.