| Problem | ping |
|---|---|
| User | bensonlzl |
| Submission Time | 2022-12-22 22:16:48 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
ping.cpp: In instantiation of ‘struct fib<101>’:
ping.cpp:6:35: recursively required from ‘struct fib<999>’
ping.cpp:6:35: required from ‘struct fib<1000>’
ping.cpp:25:18: required from here
ping.cpp:6:35: fatal error: template instantiation depth exceeds maximum of 900 (use ‘-ftemplate-depth=’ to increase the maximum)
6 | enum { value = (fib<N-1>::value + fib<N-2>::value) % 2 };
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
compilation terminated.