Problem ping
User bensonlzl
Submission Time 2022-12-22 22:20:13
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ping.cpp: In function ‘int rabbit(int)’:
ping.cpp:58:16: error: wrong number of template arguments (1, should be 3)
58 | return fib<100>::value+ping(fib<101>::value);
| ^
ping.cpp:5:8: note: provided for ‘template<int N, int M, int X> struct fib’
5 | struct fib {
| ^~~
ping.cpp:58:37: error: wrong number of template arguments (1, should be 3)
58 | return fib<100>::value+ping(fib<101>::value);
| ^
ping.cpp:5:8: note: provided for ‘template<int N, int M, int X> struct fib’
5 | struct fib {
| ^~~