Problem | brick |
---|---|
User | AltheaZ |
Submission Time | 2023-06-22 10:50:30 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
brick.cpp:3:20: error: missing terminating > character
3 | #include <algorithm
| ^
brick.cpp:14:6: error: stray ‘\357’ in program
14 | if (a.back()<=x){
| ^
brick.cpp:14:7: error: stray ‘\274’ in program
14 | if (a.back()<=x){
| ^
brick.cpp:14:8: error: stray ‘\210’ in program
14 | if (a.back()<=x){
| ^
brick.cpp: In function ‘int main()’:
brick.cpp:10:11: error: invalid types ‘int[int]’ for array subscript
10 | cin>>n[i];
| ^
brick.cpp:13:3: error: ‘x’ was not declared in this scope
13 | x=a[0];
| ^
brick.cpp:14:9: error: expected ‘(’ before ‘a’
14 | if (a.back()<=x){
| ^
| (
brick.cpp:17:27: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘int’ to binary ‘operator+’
17 | rotate(a.begin(),a.begin+1,a.end())