| Problem | arrayngement |
|---|---|
| User | Red123 |
| Submission Time | 2026-06-29 15:47:40 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
arrayngement.cpp: In function ‘int main()’:
arrayngement.cpp:17:13: error: ‘class std::deque<long long int>’ has no member named ‘first’
17 | sort(deque.first(); deque.end());
| ^~~~~
arrayngement.cpp:17:33: error: expected ‘;’ before ‘)’ token
17 | sort(deque.first(); deque.end());
| ^
| ;
arrayngement.cpp:27:4: error: ‘dequee’ was not declared in this scope; did you mean ‘deque’?
27 | dequee.pop_front();
| ^~~~~~
| deque
arrayngement.cpp:32:15: error: no match for ‘operator>>’ (operand types are ‘std::basic_istream<char>::__istream_type’ {aka ‘std::basic_istream<char>’} and ‘const char [2]’)
32 | cin >> total >> "\n";
| ~~~~~~~~~~~~ ^~ ~~~~
| | |
| | const char [2]
| std::basic_istream<char>::__istream_typ