Problem arrayfind
User Ant1234567890
Submission Time 2026-11-20 18:13:59
Score 0
Max Time N/A
Max Memory N/A

Compile Error

arrayfind.cpp: In function ‘int main()’:
arrayfind.cpp:5:2: error: ‘Cin’ was not declared in this scope; did you mean ‘sin’?
5 | Cin<<L
| ^~~
| sin
arrayfind.cpp:8:2: error: expected initializer before ‘while’
8 | while(i){
| ^~~~~
arrayfind.cpp:13:5: error: no match for ‘operator<<’ (operand types are ‘std::istream’ {aka ‘std::basic_istream<char>’} and ‘int’)
13 | cin<<Q
| ~~~^~~
| | |
| | int
| std::istream {aka std::basic_istream<char>}
arrayfind.cpp:13:5: note: candidate: ‘operator<<(int, int)’ <built-in>
13 | cin<<Q
| ~~~^~~
arrayfind.cpp:13:5: note: no known conversion for argument 1 from ‘std::istream’ {aka ‘std::basic_istream<char>’} to ‘int’
In file included from /usr/include/c++/9/regex:62,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:110,