Problem | figurines |
---|---|
User | asbx |
Submission Time | 2023-12-27 10:55:28 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
figurines.cpp:14:17: error: ‘long long unsigned int dp(long long unsigned int, long long unsigned int)’ redeclared as different kind of entity
14 | ll dp(ll d, ll f){
| ^
figurines.cpp:12:4: note: previous declaration ‘long long unsigned int dp [150]’
12 | ll dp[150], m1[150];
| ^~
figurines.cpp: In function ‘long long unsigned int dp(long long unsigned int, long long unsigned int)’:
figurines.cpp:15:14: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
15 | if(m[d,f]!=-1) return m[d,f];
| ^
figurines.cpp:15:29: error: invalid conversion from ‘long long unsigned int*’ to ‘long long unsigned int’ [-fpermissive]
15 | if(m[d,f]!=-1) return m[d,f];
| ~~~~~^
| |
| long long unsigned int*
figurines.cpp:16:25: error: incompatible types in assignment of ‘int’ to ‘l