Problem countalp
User aj
Submission Time 2025-01-17 11:17:15
Score 0
Max Time N/A
Max Memory N/A

Compile Error

countalp.cpp:1:23: error: empty character constant
1 | num_letters=int(input(''))
| ^~
countalp.cpp:2:25: error: stray ‘#’ in program
2 | string_letters=input("")#this string has num_letters of letters
| ^
countalp.cpp:5:2: error: invalid preprocessing directive #print
5 | #print(alphabet_dict)
| ^~~~~
countalp.cpp:11:2: error: invalid preprocessing directive #print
11 | #print(alphabet_dict)
| ^~~~~
countalp.cpp:1:1: error: ‘num_letters’ does not name a type
1 | num_letters=int(input(''))
| ^~~~~~~~~~~
countalp.cpp:6:1: error: expected unqualified-id before ‘for’
6 | for a in range(0,len(string_letters),1):
| ^~~