| Problem | sixandseven |
|---|---|
| User | verynicenut |
| Submission Time | 2026-06-26 13:22:34 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
sixandseven.cpp: In function ‘int main()’:
sixandseven.cpp:8:13: error: expected ‘;’ before ‘}’ token
8 | cin >>A[i]
| ^
| ;
9 | }
| ~
sixandseven.cpp:10:6: error: ‘a’ was not declared in this scope
10 | sort(a.begin() ,A.end());
| ^
sixandseven.cpp:16:8: error: no match for ‘operator<<’ (operand types are ‘std::ostream’ {aka ‘std::basic_ostream<char>’} and ‘std::vector<int>’)
16 | cout <<A{1} << ""
| ~~~~ ^~~
| | |
| | std::vector<int>
| std::ostream {aka std::basic_ostream<char>}
In file included from /usr/include/c++/9/istream:39,
from /usr/include/c++/9/sstream:38,
from /usr/include/c++/9/complex:45,
from /usr/include/c++/9/ccomplex:39,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc