Problem ping
User bensonlzl
Submission Time 2022-12-22 21:47:51
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ping.cpp: In instantiation of ‘struct fac<-898>’:
ping.cpp:6:20: recursively required from ‘struct fac<0>’
ping.cpp:6:20: required from ‘struct fac<1>’
ping.cpp:13:15: required from here
ping.cpp:6:20: fatal error: template instantiation depth exceeds maximum of 900 (use ‘-ftemplate-depth=’ to increase the maximum)
6 | enum { value = N * fac<N-1>::value };
| ~~^~~~~~~~~~~~~~~~~
compilation terminated.