Problem drama
User Bensamuel2008
Submission Time 2025-06-19 16:42:53
Score 0
Max Time N/A
Max Memory N/A

Compile Error

drama.cpp:14:21: error: missing terminating " character
14 | cout << count << "n\";
| ^~~~~
drama.cpp: In function ‘int main()’:
drama.cpp:10:9: error: request for member ‘begin’ in ‘a’, which is of non-class type ‘long long int [n]’
10 | sort(a.begin(), a.end());
| ^~~~~
drama.cpp:10:20: error: request for member ‘end’ in ‘a’, which is of non-class type ‘long long int [n]’
10 | sort(a.begin(), a.end());
| ^~~
drama.cpp:13:23: error: request for member ‘begin’ in ‘a’, which is of non-class type ‘long long int [n]’
13 | count=lower_bound(a.begin(),a.end(),x);
| ^~~~~
drama.cpp:13:33: error: request for member ‘end’ in ‘a’, which is of non-class type ‘long long int [n]’
13 | count=lower_bound(a.begin(),a.end(),x);
| ^~~
drama.cpp:15:3: error: expected primary-expression before