Problem payraise
User PlayVoltz
Submission Time 2023-08-23 17:28:35
Score 0
Max Time N/A
Max Memory N/A

Compile Error

payraise.cpp: In function ‘int main()’:
payraise.cpp:57:7: error: request for member ‘push’ in ‘q’, which is of non-class type ‘long long int’
57 | q.push(num);
| ^~~~
payraise.cpp:59:14: error: request for member ‘empty’ in ‘q’, which is of non-class type ‘long long int’
59 | while (!q.empty()){
| ^~~~~
payraise.cpp:60:15: error: request for member ‘front’ in ‘q’, which is of non-class type ‘long long int’
60 | visited[q.front()] = 1;
| ^~~~~
payraise.cpp:61:11: error: request for member ‘front’ in ‘q’, which is of non-class type ‘long long int’
61 | pay[q.front()]+=c;
| ^~~~~
payraise.cpp:62:25: error: request for member ‘front’ in ‘q’, which is of non-class type ‘long long int’
62 | for (ll num:graph[q.front()]){
| ^~~~~
payraise.cpp:64:9: error: request for member ‘push’ in ‘q’, which is of non-class type