Problem drama
User khai
Submission Time 2025-06-19 16:40:03
Score 0
Max Time N/A
Max Memory N/A

Compile Error

drama.cpp:1:2: error: invalid preprocessing directive #incldue; did you mean #include?
1 | #incldue<bits/stdc++.h>
| ^~~~~~~
| include
drama.cpp: In function ‘int main()’:
drama.cpp:6:5: error: ‘cin’ was not declared in this scope
6 | cin >> n >> q;
| ^~~
drama.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | #incldue<bits/stdc++.h>
drama.cpp:8:5: error: ‘vector’ was not declared in this scope
8 | vector<int> scores(n);
| ^~~~~~
drama.cpp:1:1: note: ‘std::vector’ is defined in header ‘<vector>’; did you forget to ‘#include <vector>’?
+++ |+#include <vector>
1 | #incldue<bits/stdc++.h>
drama.cpp:8:12: error: expected primary-expression before ‘int’
8 | vector<int> scores(n);
| ^~~