Problem brick
User Adam
Submission Time 2024-06-20 15:11:58
Score 0
Max Time N/A
Max Memory N/A

Compile Error

brick.cpp: In function ‘int main()’:
brick.cpp:8:2: error: ‘vectors’ was not declared in this scope
8 | vectors<int> v(N);
| ^~~~~~~
brick.cpp:8:10: error: expected primary-expression before ‘int’
8 | vectors<int> v(N);
| ^~~
brick.cpp:12:10: error: ‘v’ was not declared in this scope
12 | while(!v.empty() and v.back()<=X){
| ^
brick.cpp:16:7: error: ‘v’ was not declared in this scope
16 | sort(v, v+N);
| ^