Problem foreveralone
User Elnathan
Submission Time 2023-03-01 21:14:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

foreveralone.cpp:4:3: error: invalid preprocessing directive #create
4 | # create a dictionary to store the number of friends of each cat
| ^~~~~~
foreveralone.cpp:9:3: error: invalid preprocessing directive #read
9 | # read the friendships and update the friends dictionary
| ^~~~
foreveralone.cpp:16:3: error: invalid preprocessing directive #count
16 | # count the number of forever alone cats
| ^~~~~
foreveralone.cpp:2:1: error: ‘n’ does not name a type
2 | n, m = map(int, input().split())
| ^
foreveralone.cpp:6:1: error: expected unqualified-id before ‘for’
6 | for i in range(n):
| ^~~