Language: C++

#include <bits/stdc++.h>

using namespace std;

int v[5];

int main(){
  cin.get(v,3);
  
  if(v[0]==v[1] && v[1]==v[2])
    cout<<"No";
  else
    cout<<"Yes";
  
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:10: error: no matching function for call to 'std::basic_istream<char>::get(int [5], int)'
    8 |   cin.get(v,3);
      |   ~~~~~~~^~~~~
In file included from /usr/include/c++/14/sstream:40,
                 from /usr/include/c++/14/complex:45,
                 from /usr/include/c++/14/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:127,
                 from a.cc:1:
/usr/include/c++/14/istream:470:7: note: candidate: 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::get(__streambuf_type&, char_type) [with _CharT = char; _Traits = std::char_traits<char>; __streambuf_type = std::basic_streambuf<char>; char_type = char]'
  470 |       get(__streambuf_type& __sb, char_type __delim);
      |       ^~~
/usr/include/c++/14/istream:470:29: note:   no known conversion for argument 1 from 'int [5]' to 'std::basic_istream<char>::__streambuf_type&' {aka 'std::basic_streambuf<char>&'}
  470 |       get(__streambuf_type& __sb, char_type __delim);
      |           ~~~~~~~~~~~~~~~~~~^~~~
/usr/include/c++/14/istream:395:7: note: candidate: 'std::basic_istream<_CharT, _Traits>::int_type std::basic_istream<_CharT, _Traits>::get() [with _CharT = char; _Traits = std::char_traits<char>; int_type = int]'
  395 |       get();
      |       ^~~
/usr/include/c++/14/istream:395:7: note:   candidate expects 0 arguments, 2 provided
/usr/include/c++/14/istream:409:7: note: candidate: 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::get(char_type&) [with _CharT = char; _Traits = std::char_traits<char>; char_type = char]'
  409 |       get(char_type& __c);
      |       ^~~
/usr/include/c++/14/istream:409:7: note:   candidate expects 1 argument, 2 provided
/usr/include/c++/14/istream:436:7: note: candidate: 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::get(char_type*, std::streamsize, char_type) [with _CharT = char; _Traits = std::char_traits<char>; char_type = char; std::streamsize = long int]'
  436 |       get(char_type* __s, streamsize __n, char_type __delim);
      |       ^~~
/usr/include/c++/14/istream:436:7: note:   candidate expects 3 arguments, 2 provided
/usr/include/c++/14/istream:447:7: note: candidate: 'std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::get(char_type*, std::streamsize) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>; char_type = char; std::streamsize = long int]'
  447 |       get(char_type* __s, streamsize __n)
      |       ^~~
/usr/include/c++/14/istream:447:22: note:   no known conversion for argument 1 from 'int [5]' to 'std::basic_istream<char>::char_type*' {aka 'char*'}
  447 |       get(char_type* __s, streamsize __n)
      |           ~~~~~~~~~~~^~~
/usr/include/c++/14/istream:480:7: note: candidate: 'std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::get(__streambuf_type&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>; __streambuf_type = std::basic_streambuf<char>]'
  480 |       get(__streambuf_type& __sb)
      |       ^~~
/usr/include/c++/14/istream:480:7: note:   candidate expects 1 argument, 2 provided