Language: C++

#include <bits/stdc++.h>
using namespace std;

int main() {
  int 999>=N>=100;
  
  cin >>N>>;

  if ((cout<<N/100<<;）＝＝7) {
    cout <<Yes<< endl;
  }
 else if (((cout<<N-N/100*100)/10<<;)==7) {
    cout <<Yes<< endl;
  }
 else if (((cout<<N-N/100*100-N/10*10<<;)==7){
    cout <<Yes<< endl;
 else {
    cout <<NO<<endl;
 }


Compiler output:
a.cc: In function 'int main()':
a.cc:5:7: error: expected unqualified-id before numeric constant
    5 |   int 999>=N>=100;
      |       ^~~
a.cc:7:9: error: 'N' was not declared in this scope
    7 |   cin >>N>>;
      |         ^
a.cc:7:12: error: expected primary-expression before ';' token
    7 |   cin >>N>>;
      |            ^
a.cc:9:21: error: expected primary-expression before ';' token
    9 |   if ((cout<<N/100<<;）＝＝7) {
      |                     ^
a.cc:9:21: error: expected ')' before ';' token
    9 |   if ((cout<<N/100<<;）＝＝7) {
      |       ~             ^
      |                     )
a.cc:9:21: error: expected ')' before ';' token
    9 |   if ((cout<<N/100<<;）＝＝7) {
      |      ~              ^
      |                     )
a.cc:9:22: error: '\U0000ff09\U0000ff1d\U0000ff1d7' was not declared in this scope
    9 |   if ((cout<<N/100<<;）＝＝7) {
      |                      ^~~~~~~
a.cc:12:2: error: 'else' without a previous 'if'
   12 |  else if (((cout<<N-N/100*100)/10<<;)==7) {
      |  ^~~~
a.cc:12:36: error: expected primary-expression before ';' token
   12 |  else if (((cout<<N-N/100*100)/10<<;)==7) {
      |                                    ^
a.cc:12:36: error: expected ')' before ';' token
   12 |  else if (((cout<<N-N/100*100)/10<<;)==7) {
      |           ~                        ^
      |                                    )
a.cc:12:36: error: expected ')' before ';' token
   12 |  else if (((cout<<N-N/100*100)/10<<;)==7) {
      |          ~                         ^
      |                                    )
a.cc:12:37: error: expected primary-expression before ')' token
   12 |  else if (((cout<<N-N/100*100)/10<<;)==7) {
      |                                     ^
a.cc:15:2: error: 'else' without a previous 'if'
   15 |  else if (((cout<<N-N/100*100-N/10*10<<;)==7){
      |  ^~~~
a.cc:15:40: error: expected primary-expression before ';' token
   15 |  else if (((cout<<N-N/100*100-N/10*10<<;)==7){
      |                                        ^
a.cc:15:40: error: expected ')' before ';' token
   15 |  else if (((cout<<N-N/100*100-N/10*10<<;)==7){
      |            ~                           ^
      |                                        )
a.cc:15:40: error: expected ')' before ';' token
   15 |  else if (((cout<<N-N/100*100-N/10*10<<;)==7){
      |           ~                            ^
      |                                        )
a.cc:15:40: error: expected ')' before ';' token
   15 |  else if (((cout<<N-N/100*100-N/10*10<<;)==7){
      |          ~                             ^
      |                                        )
a.cc:15:41: error: expected primary-expression before ')' token
   15 |  else if (((cout<<N-N/100*100-N/10*10<<;)==7){
      |                                         ^
a.cc:19:3: error: expected '}' at end of input
   19 |  }
      |   ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^