Problem | queuecutting |
---|---|
User | ToiletBrIcker |
Submission Time | 2024-06-21 13:51:10 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
queuecutting.cpp: In function ‘int main()’:
queuecutting.cpp:26:4: error: ‘C’ was not declared in this scope
26 | C = count(cut.begin(),cut.end(),ID);
| ^
queuecutting.cpp:28:13: error: cannot convert ‘std::_Deque_iterator<long long int, long long int&, long long int*>’ to ‘long long int’ in assignment
28 | X = find(jj.begin(),jj.end(),ID);
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~
| |
| std::_Deque_iterator<long long int, long long int&, long long int*>
queuecutting.cpp:32:10: error: ‘Cut’ was not declared in this scope; did you mean ‘cut’?
32 | }else{Cut += ID;}
| ^~~
| cut