Problem letters
User dumgod
Submission Time 2025-02-04 15:23:00
Score 0
Max Time N/A
Max Memory N/A

Compile Error

letters.cpp: In function ‘long long unsigned int dp(long long unsigned int, long long unsigned int)’:
letters.cpp:57:5: error: ‘S’ was not declared in this scope
57 | if(S[i]==d[c]||S[i]==c[c]){
| ^
letters.cpp:57:26: error: invalid types ‘long long unsigned int[long long unsigned int]’ for array subscript
57 | if(S[i]==d[c]||S[i]==c[c]){
| ^
letters.cpp: In function ‘int main()’:
letters.cpp:77:11: error: ‘N’ was not declared in this scope
77 | cout<<dp(N-1,25);
| ^