criyle/codenet-compile-errors huggingface dataset:
Language: C++

//　　　　　　/＾>》, -―‐‐＜＾}
//　　　 　./:::::/,≠´:::::;:::ヽ
//　　　　/::::::〃:::::::::／:丿ハ
//　　　./:::::::i{l|:::::／  }::::}
//　　 /:::::::::瓜イ-‐  ´‐ ,'::ﾉ
//　 ./:::::::::|ﾉﾍ{､　(ﾌ _ノﾉ:::イ
//　 |:::::::::::|／}｀ｽ/￣￣￣￣￣/
//.　|:::::::::|(_::::つ/　 FMV　 /　ｶﾀｶﾀ
//.￣￣￣￣￣￣￣￣￣＼/＿＿＿＿＿/￣￣￣￣￣

Compiler output:
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x17): undefined reference to `main'
collect2: error: ld returned 1 exit status
Language: C++

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

#define rep(i, n) for (int i = 0; i < (int)(n); i++)               //repマクロ
#define REP(i, n) for (int i = 0, i##_len = (n); i < i##_len; ++i) //多倍長
#define all(x) (x).begin(), (x).end()                              //先頭と最後を渡す
#define SZ(x) ((int)(x).size())                                    //sizeの返り値をunsigned int型からint型にする
//短くするだけ
#define pb push_back
#define mp make_pair
// 名前の変更
#define y0 y3487465
#define y1 y8687969
#define j0 j1347829
#define j1 j234892
#define next asdnext
#define prev asdprev

#define cauto const auto &                                      //これいる？
#define UNIQUE(v) v.erase(unique(v.begin(), v.end()), v.end()); //なにこれ
#define itn int                                                 //これいる？
// longlong型を省略して
typedef long long lint;

/* 最大値を更新するテンプレート */
template <class T>
bool umax(T &a, const T &b)
{
  if (a < b)
  {
    a = b;
    return 1;
  }
  return 0;
}
/* 最小値を更新するテンプレ */
template <class T>
bool umin(T &a, const T &b)
{
  if (b < a)
  {
    a = b;
    return 1;
  }
  return 0;
}

int main()
{
  int a[3];
  scanf("%d %d %d" a[0], a[1], a[2]);
  if (a[0] > a[1])
  {
    int temp = a[0];
    a[0] = a[1];
    a[1] = temp;
  }
  if (a[0] > a[2])
  {
    int temp = a[0];
    a[0] = a[2];
    a[2] = temp;
  }
  if (a[0] == 5 && a[1] == 7 && a[2] == 7)
  {
    printf("YES\n");
  }
  else
  {
    printf("NO\n");
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:51:19: error: expected ')' before 'a'
   51 |   scanf("%d %d %d" a[0], a[1], a[2]);
      |        ~          ^~
      |                   )
Language: C++

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

#define rep(i, n) for (int i = 0; i < (int)(n); i++)               //repマクロ
#define REP(i, n) for (int i = 0, i##_len = (n); i < i##_len; ++i) //多倍長
#define all(x) (x).begin(), (x).end()                              //先頭と最後を渡す
#define SZ(x) ((int)(x).size())                                    //sizeの返り値をunsigned int型からint型にする
//短くするだけ
#define pb push_back
#define mp make_pair
// 名前の変更
#define y0 y3487465
#define y1 y8687969
#define j0 j1347829
#define j1 j234892
#define next asdnext
#define prev asdprev

#define cauto const auto &                                      //これいる？
#define UNIQUE(v) v.erase(unique(v.begin(), v.end()), v.end()); //なにこれ
#define itn int                                                 //これいる？
// longlong型を省略して
typedef long long lint;

/* 最大値を更新するテンプレート */
template <class T>
bool umax(T &a, const T &b)
{
  if (a < b)
  {
    a = b;
    return 1;
  }
  return 0;
}
/* 最小値を更新するテンプレ */
template <class T>
bool umin(T &a, const T &b)
{
  if (b < a)
  {
    a = b;
    return 1;
  }
  return 0;
}

int main()
{
  int a[3]
  scanf("%d %d %d" a[0], a[1], a[2]);
  if(a[0] > a[1]){
    int temp = a[0];
    a[0] = a[1];
    a[1] = temp;
  }
  if (a[0] > a[2])
  {
    int temp = a[0];
    a[0] = a[2];
    a[2] = temp;
  }
  if(a[0] == 5 && a[1] == 7 && a[2] == 7){
    printf("YES\n");
  }
  else {
    printf("NO\n");
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:51:3: error: expected initializer before 'scanf'
   51 |   scanf("%d %d %d" a[0], a[1], a[2]);
      |   ^~~~~
a.cc:52:6: error: 'a' was not declared in this scope
   52 |   if(a[0] > a[1]){
      |      ^
a.cc:57:7: error: 'a' was not declared in this scope
   57 |   if (a[0] > a[2])
      |       ^
a.cc:63:6: error: 'a' was not declared in this scope
   63 |   if(a[0] == 5 && a[1] == 7 && a[2] == 7){
      |      ^
Language: C++

#include <iosteam>

int main() {
    int a, b, c; cin >> a >> b >> c;

    if ((a == 7 && b == 5 && c == 5)
        || (a == 5 && b == 7 && c == 5)
        || (a == 5 && b == 5 && c == 7)) {
        cout << "YES" << endl;
    } else {
        cout << "NO" << endl;
    }
}


Compiler output:
a.cc:1:10: fatal error: iosteam: No such file or directory
    1 | #include <iosteam>
      |          ^~~~~~~~~
compilation terminated.
Language: C

#include<stdio.h>
int main() {
	int A, B, C;
	scanf("%d %d %d", &A, &B, &C);
		if (((A == B) && (A != C)) || ((A == C) && (A != B)) || ((B == C) && (B != A)) {
			printf("yes")
		}
		else {
			printf("no")
}

Compiler output:
main.c: In function 'main':
main.c:5:95: error: expected ')' before '{' token
    5 |                 if (((A == B) && (A != C)) || ((A == C) && (A != B)) || ((B == C) && (B != A)) {
      |                    ~                                                                          ^~
      |                                                                                               )
main.c:10:1: error: expected declaration or statement at end of input
   10 | }
      | ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main()
{
	int A, B, C;
	cin >> A >> B >> C;
 
	if (A + B + C == 17 && (max({ A, B, C }) == 7) && (min({ A, B, C }) == 5)
 
 
		){cout << "YES" << endl;
	}
	else cout << "NO" << endl;

Compiler output:
a.cc: In function 'int main()':
a.cc:14:35: error: expected '}' at end of input
   14 |         else cout << "NO" << endl;
      |                                   ^
a.cc:5:1: note: to match this '{'
    5 | {
      | ^
Language: Java

import java.io.*;
class Main {
  public static void main() {
    String a,b,c;
    
    try{
    BufferedReader br
      = new BufferedReader(new InputStreamReader(System.in));
    a = br.readLine();
    b = br.readLine();
    c = br.readLine();
    
    String s = a+b+c;
    } catch(Exception e) {
    
    }
    if(s == "557" || s == "575" || s == "755") {
      System.out.print("YES");
    } else {
      System.out.print("NO");
    }
  }
}


Compiler output:
Main.java:17: error: cannot find symbol
    if(s == "557" || s == "575" || s == "755") {
       ^
  symbol:   variable s
  location: class Main
Main.java:17: error: cannot find symbol
    if(s == "557" || s == "575" || s == "755") {
                     ^
  symbol:   variable s
  location: class Main
Main.java:17: error: cannot find symbol
    if(s == "557" || s == "575" || s == "755") {
                                   ^
  symbol:   variable s
  location: class Main
3 errors
Language: Java

import java.io.*;
class Main {
  public static void main() {
    String a,b,c;
    
    BufferedReader br
      = new BufferedReader(new InputStreamReader(System.in));
    a = br.readLine();
    b = br.readLine();
    c = br.readLine();
    
    String s = a+b+c;
    if(s == "557" || s == "575" || s == "755") {
      System.out.print("YES");
    } else {
      System.out.print("NO");
    }
  }
}


Compiler output:
Main.java:8: error: unreported exception IOException; must be caught or declared to be thrown
    a = br.readLine();
                   ^
Main.java:9: error: unreported exception IOException; must be caught or declared to be thrown
    b = br.readLine();
                   ^
Main.java:10: error: unreported exception IOException; must be caught or declared to be thrown
    c = br.readLine();
                   ^
3 errors
Language: Java

import java.io.*;
class Main {
  public static void main() {
    int a,b,c;
    String buf;
    BufferedReader br
      = new BufferedReader(new InputStreamReader(System.in));
    buf = br.readLine();
    a = Integer.parseInt(buf);
    buf = br.readLine();
    b = Integer.parseInt(buf);
    buf = br.readLine();
    c = Integer.parseInt(buf);
    
    String s1 = a+b+c;
    if(s == 557 || s == 575 || s == 755) {
      System.out.print("YES");
    } else {
      System.out.print("NO");
    }
  }
}

Compiler output:
Main.java:15: error: incompatible types: int cannot be converted to String
    String s1 = a+b+c;
                   ^
Main.java:16: error: cannot find symbol
    if(s == 557 || s == 575 || s == 755) {
       ^
  symbol:   variable s
  location: class Main
Main.java:16: error: cannot find symbol
    if(s == 557 || s == 575 || s == 755) {
                   ^
  symbol:   variable s
  location: class Main
Main.java:16: error: cannot find symbol
    if(s == 557 || s == 575 || s == 755) {
                               ^
  symbol:   variable s
  location: class Main
4 errors
Language: C++

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

int main()
{
	int A, B, C;
	cin >> A, B, C;

	if (A + B + C == 17 && max(A, B, C) == 7 && min(A, B, C) == 5)cout << 'YES' << endl;
	else cout << 'NO' << ;

	return 0;
}

Compiler output:
a.cc:9:79: warning: multi-character character constant [-Wmultichar]
    9 |         if (A + B + C == 17 && max(A, B, C) == 7 && min(A, B, C) == 5)cout << 'YES' << endl;
      |                                                                               ^~~~~
a.cc:10:22: warning: multi-character character constant [-Wmultichar]
   10 |         else cout << 'NO' << ;
      |                      ^~~~
a.cc: In function 'int main()':
a.cc:10:30: error: expected primary-expression before ';' token
   10 |         else cout << 'NO' << ;
      |                              ^
In file included from /usr/include/c++/14/algorithm:60,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:51,
                 from a.cc:1:
/usr/include/c++/14/bits/stl_algobase.h: In instantiation of 'constexpr const _Tp& std::max(const _Tp&, const _Tp&, _Compare) [with _Tp = int; _Compare = int]':
a.cc:9:28:   required from here
    9 |         if (A + B + C == 17 && max(A, B, C) == 7 && min(A, B, C) == 5)cout << 'YES' << endl;
      |                                ~~~^~~~~~~~~
/usr/include/c++/14/bits/stl_algobase.h:306:17: error: '__comp' cannot be used as a function
  306 |       if (__comp(__a, __b))
      |           ~~~~~~^~~~~~~~~~
/usr/include/c++/14/bits/stl_algobase.h: In instantiation of 'constexpr const _Tp& std::min(const _Tp&, const _Tp&, _Compare) [with _Tp = int; _Compare = int]':
a.cc:9:49:   required from here
    9 |         if (A + B + C == 17 && max(A, B, C) == 7 && min(A, B, C) == 5)cout << 'YES' << endl;
      |                                                     ~~~^~~~~~~~~
/usr/include/c++/14/bits/stl_algobase.h:284:17: error: '__comp' cannot be used as a function
  284 |       if (__comp(__b, __a))
      |           ~~~~~~^~~~~~~~~~
Language: C++

#include <iostream>

int main()
{
  int arr[3];
  for (int i  = 0 ; i < 3 ; ++i)std::cin >> arr[3];
  int 5c = 0 , 7c = 0;
  bool d = false;
  for (int i :arr)
  {
    if (i!= 7 && i != 5)
    {
      std::cout << "NO";
      d = true;
      break;
    }
    else 
    {
      if (i == 5)
      {
        if (5c > 2) 
        {
          std::cout << "NO";
          d = true;
          break;
        }
        ++5c;
      }
      if (i == 7)
      {
        if (7c  >1) 
        {
          std::cout << "NO";
          d = true;
          break;
        }
        ++7c;
      }
    }
  }
  if (!d)std::cout << "YES";
  return 0;
    }

Compiler output:
a.cc: In function 'int main()':
a.cc:7:7: error: expected unqualified-id before numeric constant
    7 |   int 5c = 0 , 7c = 0;
      |       ^~
a.cc:21:13: error: unable to find numeric literal operator 'operator""c'
   21 |         if (5c > 2)
      |             ^~
a.cc:27:11: error: unable to find numeric literal operator 'operator""c'
   27 |         ++5c;
      |           ^~
a.cc:31:13: error: unable to find numeric literal operator 'operator""c'
   31 |         if (7c  >1)
      |             ^~
a.cc:37:11: error: unable to find numeric literal operator 'operator""c'
   37 |         ++7c;
      |           ^~
Language: Java

public static void main(String args[]){
	Scanner sc = new Scanner(System.in);
    int A = sc.nextInt();
    int B = sc.nextInt();
    int C = sc.nextInt();
	sc.close();
	
  if(A + B + C == 19 && (( A == 7 || A == 5 ) && ( B == 7 || B == 5 ) && ( C == 7 || C == 5 ))){
  	 System.out.println("YES");
  }else {
     System.out.println("NO");
  }

}

Compiler output:
Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
public static void main(String args[]){
              ^
  (use --enable-preview to enable unnamed classes)
1 error
Language: C++

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

int main(){
  int a, b, c;
  cin >> a >> b >> c;
  string ans = "NO";
  if (a == 5 && b == 7 && c == 7) ans = "YES";
  if (a == 7 && b == 5 && c == 7) ans = "YES";
  if (a == 7 && b == 7 && c == 5) ans = "YES";
  }
  cout << ans << endl;
}

Compiler output:
a.cc:12:3: error: 'cout' does not name a type
   12 |   cout << ans << endl;
      |   ^~~~
a.cc:13:1: error: expected declaration before '}' token
   13 | }
      | ^
Language: C

#include<stdio.h>
int main(){
  int a,b,c;
  scanf("%d %d %d",&a,&b,&c);
  if(a+b+c=17&&a*b*c=395){
    printf("YES\n");
  }else{
    printf("NO\n");
  }
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:21: error: lvalue required as left operand of assignment
    5 |   if(a+b+c=17&&a*b*c=395){
      |                     ^
Language: C++

#include <iostream>
using namespace std;
int main(void){
    // Your code here!
    int a,b,c;
    cin>>a>>b>>c;
    if (a==7&&b==5&&c==5||a==&&b==7&&c==5||a==5&&b==5&&c==7){
        cout<<"YES"<<endl;
    }
    else{
        cout<<"NO"<<endl;
    }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:28: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    7 |     if (a==7&&b==5&&c==5||a==&&b==7&&c==5||a==5&&b==5&&c==7){
      |                           ~^~~~~
a.cc:7:32: error: label 'b' used but not defined
    7 |     if (a==7&&b==5&&c==5||a==&&b==7&&c==5||a==5&&b==5&&c==7){
      |                                ^
Language: C++

int main() {
  int five(0), seven(0), temp, t(3);
  while (t--) {
    
  	scanf("%d", &temp);
    if (temp != 5 && temp != 7) {
      std::cout << "NO\n";
      break;
    } else {
      temp == 5 ? five ^= 5 : seven ^= 7;
    }
  }
  std::cout << (!five && seven ? "YES\n" : "NO\n");
  
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: 'scanf' was not declared in this scope
    5 |         scanf("%d", &temp);
      |         ^~~~~
a.cc:7:12: error: 'cout' is not a member of 'std'
    7 |       std::cout << "NO\n";
      |            ^~~~
a.cc:1:1: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | int main() {
a.cc:13:8: error: 'cout' is not a member of 'std'
   13 |   std::cout << (!five && seven ? "YES\n" : "NO\n");
      |        ^~~~
a.cc:13:8: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
Language: C++

import java.util.Scanner;

    class Main {

	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);
        int a = scan.nextInt();
        int b = scan.nextInt();
        int c = scan.nextInt();

        if (a * b * c == 175)
        System.out.print("YES");

        else

        System.out.print("NO");


        scan.close();
	}

}

Compiler output:
a.cc:1:1: error: 'import' does not name a type
    1 | import java.util.Scanner;
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:5:15: error: expected ':' before 'static'
    5 |         public static void main(String[] args) {
      |               ^~~~~~~
      |               :
a.cc:5:33: error: 'String' has not been declared
    5 |         public static void main(String[] args) {
      |                                 ^~~~~~
a.cc:5:42: error: expected ',' or '...' before 'args'
    5 |         public static void main(String[] args) {
      |                                          ^~~~
a.cc:23:2: error: expected ';' after class definition
   23 | }
      |  ^
      |  ;
a.cc: In static member function 'static void Main::main(int*)':
a.cc:7:17: error: 'Scanner' was not declared in this scope
    7 |                 Scanner scan = new Scanner(System.in);
      |                 ^~~~~~~
a.cc:8:17: error: 'scan' was not declared in this scope
    8 |         int a = scan.nextInt();
      |                 ^~~~
a.cc:13:9: error: 'System' was not declared in this scope
   13 |         System.out.print("YES");
      |         ^~~~~~
a.cc:17:9: error: 'System' was not declared in this scope
   17 |         System.out.print("NO");
      |         ^~~~~~
Language: C++

#include <bits/stdc++.h>

using namespace std;

int main() {
#ifdef  DEBUG
  ifstream in("input.txt");
  cin.rdbuf(in.rdbuf());
#endif  // for local.
  int a, b, c;

  cin >> a >> b >> c;
  if (a * b * c == 5 * 7 * 5) {
    ans = "YES";
  } else {
    ans = "NO";
  }

  cout << ans << endl;

  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:14:5: error: 'ans' was not declared in this scope; did you mean 'abs'?
   14 |     ans = "YES";
      |     ^~~
      |     abs
a.cc:16:5: error: 'ans' was not declared in this scope; did you mean 'abs'?
   16 |     ans = "NO";
      |     ^~~
      |     abs
a.cc:19:11: error: 'ans' was not declared in this scope; did you mean 'abs'?
   19 |   cout << ans << endl;
      |           ^~~
      |           abs
Language: C++

in_ = input().split()

if in_.count('5') is 2 and in_.count('7') is 1:
    print('YES')
else:
    print('NO')

Compiler output:
a.cc:4:11: warning: multi-character character constant [-Wmultichar]
    4 |     print('YES')
      |           ^~~~~
a.cc:6:11: warning: multi-character character constant [-Wmultichar]
    6 |     print('NO')
      |           ^~~~
a.cc:1:1: error: 'in_' does not name a type; did you mean 'int'?
    1 | in_ = input().split()
      | ^~~
      | int
Language: C++

#include<iosatream>
using namespace std;
 
int main(){
    int a, b, c;
    cin >> a >> b >> c;
    if((a == 7 && b == 5 && c == 5)||(a == 5 && b == 7 && c == 5)||(a == 5 && b == 5 && c == 7)){
      cout << "YES" << endl;
    }else{
      cout << "NO" << endl;
    }
      return 0;
    }

Compiler output:
a.cc:1:9: fatal error: iosatream: No such file or directory
    1 | #include<iosatream>
      |         ^~~~~~~~~~~
compilation terminated.
Language: C++

#include<iostream>
using namespace std;
 
int main(){
    int a, b, c;
    cin >> a >> b >> c;
    if((a == 7 && b == 5 && c == 5)||(a == 5 && b == 7 && c == 5)||(a == 5 && b == 5 && c == 7)){
      cout << "YES" << endl;
    }else{
      cout << "NO" << endl;
      
      return 0;
    }

Compiler output:
a.cc: In function 'int main()':
a.cc:13:6: error: expected '}' at end of input
   13 |     }
      |      ^
a.cc:4:11: note: to match this '{'
    4 | int main(){
      |           ^
Language: C++

#include<iosatream>
using namespace std;

int main(){
    int a, b, c;
    cin >> a >> b >> c;
    if((a == 7 && b == 5 && c == 5)||(a == 5 && b == 7 && c == 5)||(a == 5 && b == 5 && c == 7)){
      cout << "YES" << endl;
    }else{
      cout << "NO" << endl;
      
      return 0;
    }
  

Compiler output:
a.cc:1:9: fatal error: iosatream: No such file or directory
    1 | #include<iosatream>
      |         ^~~~~~~~~~~
compilation terminated.
Language: C++

#include<#include<bits/stdc++.h>
using namespace std;
int main()
{
   int a,b,c;
   cin>>a>>b>>c;
   if(a==5&&b==5&&c==7)
   {
       cout<<"YES";
   }
   else if(a==5&&b==7&&c==5)
   {
       cout<<"YES";
   }
   else if(a==7&&b==5&&c==5)
   {
       cout<<"YES";
   }
   else 
   {
       cout<<"NO";
   }


    return 0;
}


Compiler output:
a.cc:1:9: fatal error: #include<bits/stdc++.h: No such file or directory
    1 | #include<#include<bits/stdc++.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include <stdio.h>

int main(void)
{
  int moji1,moji2,moji3;
  scanf("%d %d %d",moji1,moji2,moji3);
  

Compiler output:
a.cc: In function 'int main()':
a.cc:6:39: error: expected '}' at end of input
    6 |   scanf("%d %d %d",moji1,moji2,moji3);
      |                                       ^
a.cc:4:1: note: to match this '{'
    4 | {
      | ^
Language: Java

Scanner sn = new Scanner(System.in);
        int A = sn.nextInt();
        int B = sn.nextInt();
        int C = sn.nextInt();

        int sum = A + B + C;
        if(sum == 17){
            System.out.print("YES");
        } else {
            System.out.print("NO");
        }

Compiler output:
Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
Scanner sn = new Scanner(System.in);
^
  (use --enable-preview to enable unnamed classes)
Main.java:7: error: class, interface, enum, or record expected
        if(sum == 17){
        ^
Main.java:9: error: class, interface, enum, or record expected
        } else {
        ^
Main.java:11: error: class, interface, enum, or record expected
        }
        ^
4 errors
Language: Java

public class IrohaAndHaiku {
    public static void main(String[] args) {
      Scanner sn = new Scanner(System.in);
        int A = sn.nextInt();
        int B = sn.nextInt();
        int C = sn.nextInt();

        int sum = A + B + C;
        if(sum == 17){
            System.out.print("YES");
        } else {
            System.out.print("NO");
        }
      
        

    }
}


Compiler output:
Main.java:1: error: class IrohaAndHaiku is public, should be declared in a file named IrohaAndHaiku.java
public class IrohaAndHaiku {
       ^
Main.java:3: error: cannot find symbol
      Scanner sn = new Scanner(System.in);
      ^
  symbol:   class Scanner
  location: class IrohaAndHaiku
Main.java:3: error: cannot find symbol
      Scanner sn = new Scanner(System.in);
                       ^
  symbol:   class Scanner
  location: class IrohaAndHaiku
3 errors
Language: C++

#include <iostream>
#include <fstream>
#include <cstdio>
#include <cmath>
#include <vector>
#include <string>
#include <set>
#include <map>
#include <stack>
#include <queue>
#include <deque>
#include <bitset>
#include <algorithm>
#include <complex>
#include <array>
using namespace std;

#define REP(i,n) for(int i=0; i<n; ++i)
#define FOR(i,a,b) for(int i=a; i<=b; ++i)
#define FORR(i,a,b) for (int i=a; i>=b; --i)
#define ALL(c) (c).begin(), (c).end()

typedef long long ll;
typedef vector<int> VI;
typedef vector<ll> VL;
typedef vector<double> VD;
typedef vector<VI> VVI;
typedef vector<VL> VVL;
typedef vector<VD> VVD;
typedef pair<int,int> P;
typedef pair<ll,ll> PL;
using Graph=vector<vector<int>>;

template<class t,class u> void chmax(t&a,u b){if(a<b)a=b;}
template<class t,class u> void chmin(t&a,u b){if(b<a)a=b;}


int main()
{
  int A,B,C;
  cin>>A>>B>>C;
  if(A+B+C!=17)
  {
    cout<<"No"<<endl;
    return 0;
  }
  if(A+B+C==17)
  {
    if(A*B*C=175)
    {
      cout<<"YES"<<endl;
      return 0;
    }
    else
    {
      cout<<"NO"<<endl;
    }
  }

}

Compiler output:
a.cc: In function 'int main()':
a.cc:49:11: error: lvalue required as left operand of assignment
   49 |     if(A*B*C=175)
      |        ~~~^~
Language: C++

#include <iostream>
#include <vector>
#include<algorithm>
#include<math.h>
#include<iomanip>
#define ff(i,m,n) for(int i=m;i<n;i++)
#define i64 int64_t
using namespace std;


int main() {
	int a, b, c;
	cin >> a >> b >> c;
	if (a + b + c != 12) {
		cout << "NO" << endl;
		return 0;
	}
	if (a != 5 && a != 7) {
		cout << "NO" << endl;
		return 0;
	}
	if (c != 5 && c != 7) {
		cout << "NO" << endl;
		return 0;
	}

	if (b != 5 && b != 7) {
		cout << "NO" << endl;
		return 0;
	}
	cout << "YES" << endl;
	

Compiler output:
a.cc: In function 'int main()':
a.cc:31:31: error: expected '}' at end of input
   31 |         cout << "YES" << endl;
      |                               ^
a.cc:11:12: note: to match this '{'
   11 | int main() {
      |            ^
Language: C++

#include <vector>
#include <iostream>
#include <algorithm>
#include <functional>
#include <string>
#include <limits.h>
#include <cmath>
#include <queue>
#include <map>
#include <iomanip>
#include <random>
#include <fstream>
#define rep(i, n) for (int i = 0; i < n; i++)
#define PI 3.14159265358979323846
#define MOD 1000000007
using namespace std;
using ll = long long;

const int MAX = 1000000;

ll fac[MAX], finv[MAX], inv[MAX];

// テーブルを作る前処理
void COMinit() {
  fac[0] = fac[1] = 1;
  finv[0] = finv[1] = 1;
  inv[1] = 1;
  for (int i = 2; i < MAX; i++){
    fac[i] = fac[i - 1] * i % MOD;
    inv[i] = MOD - inv[MOD%i] * (MOD / i) % MOD;
    finv[i] = finv[i - 1] * inv[i] % MOD;
  }
}

// 二項係数計算
long long COM(int n, int k){
  if (n < k) return 0;
  if (n < 0 || k < 0) return 0;
  return fac[n] * (finv[k] * finv[n - k] % MOD) % MOD;
}

ll gcd(ll a, ll b)
{
  ll r;
  while ((r = a % b))
  {
    a = b;
    b = r;
  }
  return b;
}

template <class T> struct cord{
  T x,y;
};

template <class T> double dist(cord<T> a, cord<T> b){
  T dx=a.x-b.x;
  T dy=a.y-b.y;
  return sqrt(dx*dx+dy*dy);
}

int main()
{

  //cout << fixed << setprecision(10);

  int n[3]; cin >> n[0] >> n[1] >> n[2];
  sort(n.begin(),n.end());
  if (n[0]==5&&n[1]==7&&n[2]==7){cout << "YES";}
  else {cout << "NO";}

  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:69:10: error: request for member 'begin' in 'n', which is of non-class type 'int [3]'
   69 |   sort(n.begin(),n.end());
      |          ^~~~~
a.cc:69:20: error: request for member 'end' in 'n', which is of non-class type 'int [3]'
   69 |   sort(n.begin(),n.end());
      |                    ^~~
Language: C++

#include <vector>
#include <iostream>
#include <algorithm>
#include <functional>
#include <string>
#include <limits.h>
#include <cmath>
#include <queue>
#include <map>
#include <iomanip>
#include <random>
#include <fstream>
#define rep(i, n) for (int i = 0; i < n; i++)
#define PI 3.14159265358979323846
#define MOD 1000000007
using namespace std;
using ll = long long;

const int MAX = 1000000;

ll fac[MAX], finv[MAX], inv[MAX];

// テーブルを作る前処理
void COMinit() {
  fac[0] = fac[1] = 1;
  finv[0] = finv[1] = 1;
  inv[1] = 1;
  for (int i = 2; i < MAX; i++){
    fac[i] = fac[i - 1] * i % MOD;
    inv[i] = MOD - inv[MOD%i] * (MOD / i) % MOD;
    finv[i] = finv[i - 1] * inv[i] % MOD;
  }
}

// 二項係数計算
long long COM(int n, int k){
  if (n < k) return 0;
  if (n < 0 || k < 0) return 0;
  return fac[n] * (finv[k] * finv[n - k] % MOD) % MOD;
}

ll gcd(ll a, ll b)
{
  ll r;
  while ((r = a % b))
  {
    a = b;
    b = r;
  }
  return b;
}

template <class T> struct cord{
  T x,y;
};

template <class T> double dist(cord<T> a, cord<T> b){
  T dx=a.x-b.x;
  T dy=a.y-b.y;
  return sqrt(dx*dx+dy*dy);
}

int main()
{

  //cout << fixed << setprecision(10);

  int n[3]; cin >> c[0] >> c[1] >> c[2];
  sort(n.begin(),n.end());
  if (c[0]==5&&c[1]==7&&c[2]==7){cout << "YES";}
  else {cout << "NO";}

  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:68:20: error: 'c' was not declared in this scope
   68 |   int n[3]; cin >> c[0] >> c[1] >> c[2];
      |                    ^
a.cc:69:10: error: request for member 'begin' in 'n', which is of non-class type 'int [3]'
   69 |   sort(n.begin(),n.end());
      |          ^~~~~
a.cc:69:20: error: request for member 'end' in 'n', which is of non-class type 'int [3]'
   69 |   sort(n.begin(),n.end());
      |                    ^~~
Language: C++

#include<iostream>
using namespace std;
int main(){
  int n=3;
  int N[n];
  int r[n]={5,7,5};
  int t[n];
  for(int i=0;i<n;i++){
    cin>>N[i];
  }
  int five=0;
  int seven=0;
  for(int i=0;i<n;i++){
    if(N[i]==5){
      five++;
    }
    if(N[i]==7){
      seven++;
    } 
  }
  
  if(five==2&&sezen==1) cout<<"YES"<<endl;
  else cout<<"NO"<<endl;
  
 return 0; 
}

Compiler output:
a.cc: In function 'int main()':
a.cc:22:15: error: 'sezen' was not declared in this scope; did you mean 'seven'?
   22 |   if(five==2&&sezen==1) cout<<"YES"<<endl;
      |               ^~~~~
      |               seven
Language: Java


public class ABC042 {
	public static void main(String[] args) {
int seven = 0;
int five = 0;
		String[] num = new String[3];
		for (int i = 0; i < 3; i++) {
			num[i] = new java.util.Scanner(System.in).nextLine();
		}
		for (int i = 0; i < 3; i++) {
			if (num[i].length() == 5) {
				five ++;
			}
			if (num[i].length() == 7) {
				seven ++;
			}

		}
		if(five == 2 && seven == 1)
		{
			System.out.println("Yes");
		}
		else
		{
			System.out.println("No");
		}
	}
}


Compiler output:
Main.java:2: error: class ABC042 is public, should be declared in a file named ABC042.java
public class ABC042 {
       ^
1 error
Language: C++

#include<iostream>
using namespace std;

int main()
{
  int a,b,c;
  cin>>a>>b>>c;
  
  if(a+b+c==17 && (a=5||a=7) && (b=5||b=7)){
    cout<<"YES"<<endl;
  }else{
    cout<<"NO"<<endl;
  }
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:23: error: lvalue required as left operand of assignment
    9 |   if(a+b+c==17 && (a=5||a=7) && (b=5||b=7)){
      |                      ~^~~
a.cc:9:37: error: lvalue required as left operand of assignment
    9 |   if(a+b+c==17 && (a=5||a=7) && (b=5||b=7)){
      |                                    ~^~~
Language: C++

#include<iostream>
using namespace std;

int main()
{
  int a,b,c;
  cin>>a>>b>>c;
  
  if(a+b+c==17 && (a=5||a=7) && (b=5||b=7)){
    cout<<"YES"<<endl;
  }else{
    cou<<"NO"<<ensl;
  }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:23: error: lvalue required as left operand of assignment
    9 |   if(a+b+c==17 && (a=5||a=7) && (b=5||b=7)){
      |                      ~^~~
a.cc:9:37: error: lvalue required as left operand of assignment
    9 |   if(a+b+c==17 && (a=5||a=7) && (b=5||b=7)){
      |                                    ~^~~
a.cc:12:5: error: 'cou' was not declared in this scope
   12 |     cou<<"NO"<<ensl;
      |     ^~~
a.cc:12:16: error: 'ensl' was not declared in this scope
   12 |     cou<<"NO"<<ensl;
      |                ^~~~
Language: Java

import java.util.Scanner;

public class Mian {
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int a = scanner.nextInt();
		int b = scanner.nextInt();
		int c = scanner.nextInt();
		if ((a + b + c) == 17) {
			if ((a == 7) && (b == 5) && (c == 5)) {
				System.out.println("YES");
			}	else if ((a == 5) && (b == 7) && (c == 5)) {
				System.out.println("YES");
			}	else if ((a == 5) && (b == 5) && (c == 7)) {
				System.out.println("YES");
			}	else {
				System.out.println("NO");
			}
		}	else {
			System.out.println("NO");
		}
	}
}

Compiler output:
Main.java:3: error: class Mian is public, should be declared in a file named Mian.java
public class Mian {
       ^
1 error
Language: Java

import java.util.*;
public class Main {
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
 
    int a = sc.nextInt();
    int b = sc.nextInt();
    int c = sc.nextInt();
    
    int countFive = 0;
    int countSeven = 0;
    if (a == 5) {
      countFive ++;
    } else {
      countSeven ++;
    }
    if (b == 5) {
      countFive ++;
    } else {
      countSeven ++;
    }
    if (c == 5) {
      countFive ++;
    } else {
      countSeven ++;
    }
    
    if (countFive = 5) {
      System.out.println("YES");
    } else {
      System.out.println("NO");
    }
  }
}

Compiler output:
Main.java:28: error: incompatible types: int cannot be converted to boolean
    if (countFive = 5) {
                  ^
1 error
Language: Java

import java.util.*;
public class Main {
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);

    int a = sc.nextInt();
    int b = sc.nextInt();
    int c = sc.nextInt();
    
    int countFive = 0;
    int countSeven = 0;
    if (a == 5) {
      countFive ++;
    } else {
      countSeven ++;
    }
    if (b == 5) {
      countFive ++;
    } else {
      countSeven ++;
    }
    if (c == 5) {
      countFive ++;
    } else {
      countSeven ++;
    }
    
    if (countFive = 5) {
      System.out.println("YES")
    } else {
      System.out.println("NO")
    }
  }
}

Compiler output:
Main.java:29: error: ';' expected
      System.out.println("YES")
                               ^
Main.java:31: error: ';' expected
      System.out.println("NO")
                              ^
2 errors
Language: C++

a=list(map(int, input().split()))
sorted(a)
if a[0]== 5 and a[1] == 5 and a[2] == 7:
  print('YES')
else:
  print('NO')

Compiler output:
a.cc:4:9: warning: multi-character character constant [-Wmultichar]
    4 |   print('YES')
      |         ^~~~~
a.cc:6:9: warning: multi-character character constant [-Wmultichar]
    6 |   print('NO')
      |         ^~~~
a.cc:1:1: error: 'a' does not name a type
    1 | a=list(map(int, input().split()))
      | ^
Language: C

#include<stdio.h>
int main(){
  int A,B,C;
  scanf("%d %d %d",&A,&B,&C);
  if(A+B+C==17&&A*B*C==105){
    printf("YES");
  }else{
    printf("NO");
  }
  retun 0;
}

Compiler output:
main.c: In function 'main':
main.c:10:3: error: 'retun' undeclared (first use in this function)
   10 |   retun 0;
      |   ^~~~~
main.c:10:3: note: each undeclared identifier is reported only once for each function it appears in
main.c:10:8: error: expected ';' before numeric constant
   10 |   retun 0;
      |        ^~
      |        ;
Language: Java

import java.util.*;

public class Main{
	public static void main(String[] args){
      Scanner s = new Scanner(System.in);
      int A = s.nextInt();
      int B = s.nextInt();
      int C = s.nextInt();
      
      int nana, go;
      if(A == 5){ go++;} else if(A == 7) {nana++;}
      if(B == 5){ go++;} else if(B == 7) {nana++;}
      if(C == 5){ go++;} else if(C == 7) {nana++;}
      
      if(go == 2 && nana == 1){
      	System.out.println("YES");
      }else{
      	System.out.println("NO");
      }
    }
}

Compiler output:
Main.java:11: error: variable go might not have been initialized
      if(A == 5){ go++;} else if(A == 7) {nana++;}
                  ^
Main.java:11: error: variable nana might not have been initialized
      if(A == 5){ go++;} else if(A == 7) {nana++;}
                                          ^
Main.java:12: error: variable go might not have been initialized
      if(B == 5){ go++;} else if(B == 7) {nana++;}
                  ^
Main.java:12: error: variable nana might not have been initialized
      if(B == 5){ go++;} else if(B == 7) {nana++;}
                                          ^
Main.java:13: error: variable go might not have been initialized
      if(C == 5){ go++;} else if(C == 7) {nana++;}
                  ^
Main.java:13: error: variable nana might not have been initialized
      if(C == 5){ go++;} else if(C == 7) {nana++;}
                                          ^
Main.java:15: error: variable go might not have been initialized
      if(go == 2 && nana == 1){
         ^
Main.java:15: error: variable nana might not have been initialized
      if(go == 2 && nana == 1){
                    ^
8 errors
Language: Java

import java.util.*;

public class Main{
	public static void main(String[] args){
      Scanner s = new Scanner(System.in());
      int A = s.nextInt();
      int B = s.nextInt();
      int C = s.nextInt();
      
      int nana, go;
      if(A == 5){ go++;} else if(A == 7) {nana++;}
      if(B == 5){ go++;} else if(B == 7) {nana++;}
      if(C == 5){ go++;} else if(C == 7) {nana++;}
      
      if(go == 2 && nana == 1){
      	System.out.println("YES");
      }else{
      	System.out.println("NO");
      }
    }
}

Compiler output:
Main.java:5: error: cannot find symbol
      Scanner s = new Scanner(System.in());
                                    ^
  symbol:   method in()
  location: class System
1 error
Language: Java

import java.util.*;

public class Main{
	public static void main(String[] args){
      Scanner s = new Scanner(System.in());
      int A = s.nextInt();
      int B = s.nextInt();
      int C = s.nextInt();
      
      int nana, go;
      if(A == 5){ go++;} else(A == 7) {nana++;}
      if(B == 5){ go++;} else(B == 7) {nana++;}
      if(C == 5){ go++;} else(C == 7) {nana++;}
      
      if(go == 2 && nana == 1){
      	System.out.println("YES");
      }else{
      	System.out.println("NO");
      }
    }
}

Compiler output:
Main.java:11: error: not a statement
      if(A == 5){ go++;} else(A == 7) {nana++;}
                             ^
Main.java:11: error: ';' expected
      if(A == 5){ go++;} else(A == 7) {nana++;}
                                     ^
Main.java:12: error: not a statement
      if(B == 5){ go++;} else(B == 7) {nana++;}
                             ^
Main.java:12: error: ';' expected
      if(B == 5){ go++;} else(B == 7) {nana++;}
                                     ^
Main.java:13: error: not a statement
      if(C == 5){ go++;} else(C == 7) {nana++;}
                             ^
Main.java:13: error: ';' expected
      if(C == 5){ go++;} else(C == 7) {nana++;}
                                     ^
6 errors
Language: Java

import java.util.*;

public class Main{
	public static void main(String[] args){
      Scanner s = new Scanner(System.in());
      int A = s.nextInt();
      int B = s.nextInt();
      int C = s.nextInt();
      
      int nana, go;
      if(A == 5) go++; else(A == 7) nana++;
      if(B == 5) go++; else(B == 7) nana++;
      if(C == 5) go++; else(C == 7) nana++;
      
      if(go == 2 && nana == 1){
      	System.out.println("YES");
      }else{
      	System.out.println("NO");
      }
    }
}

Compiler output:
Main.java:11: error: not a statement
      if(A == 5) go++; else(A == 7) nana++;
                           ^
Main.java:11: error: ';' expected
      if(A == 5) go++; else(A == 7) nana++;
                                   ^
Main.java:12: error: not a statement
      if(B == 5) go++; else(B == 7) nana++;
                           ^
Main.java:12: error: ';' expected
      if(B == 5) go++; else(B == 7) nana++;
                                   ^
Main.java:13: error: not a statement
      if(C == 5) go++; else(C == 7) nana++;
                           ^
Main.java:13: error: ';' expected
      if(C == 5) go++; else(C == 7) nana++;
                                   ^
6 errors
Language: C

#include<stdio.h>
void main()
{
    int a,b,c;
    scanf("%d%d%d",&a,&b,&c);
    if(a=5,b=7,c=5)
        print("YES");
    else
        print("NO");
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:7:9: error: implicit declaration of function 'print'; did you mean 'printf'? [-Wimplicit-function-declaration]
    7 |         print("YES");
      |         ^~~~~
      |         printf
main.c:10:12: error: 'return' with a value, in function returning void [-Wreturn-mismatch]
   10 |     return 0;
      |            ^
main.c:2:6: note: declared here
    2 | void main()
      |      ^~~~
Language: C

#include<stdio.h>
int main()
{
    int a,b,c;
    scanf("%d%d%d",&a,&b,&c);
    if(a=5,b=7,c=5)
        print("YES");
    else
        print("NO");
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:7:9: error: implicit declaration of function 'print'; did you mean 'printf'? [-Wimplicit-function-declaration]
    7 |         print("YES");
      |         ^~~~~
      |         printf
Language: C

#include<stdio.h>
int main()
{
	int A,B,C;
	scanf("%d %d %d",&A,&B,&C);
	if(A==5,B==5,C==7||A==5,B==7,C==5||A==7,B==5,C==5)
	{
		printf("YES\n");
		printf("Using three phrases of length %d, %d and %d, it is possible to construct a Haiku.",a,b,c);
	}
	else
	printf("NO");
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:9:108: error: 'a' undeclared (first use in this function)
    9 |                 printf("Using three phrases of length %d, %d and %d, it is possible to construct a Haiku.",a,b,c);
      |                                                                                                            ^
main.c:9:108: note: each undeclared identifier is reported only once for each function it appears in
main.c:9:110: error: 'b' undeclared (first use in this function)
    9 |                 printf("Using three phrases of length %d, %d and %d, it is possible to construct a Haiku.",a,b,c);
      |                                                                                                              ^
main.c:9:112: error: 'c' undeclared (first use in this function)
    9 |                 printf("Using three phrases of length %d, %d and %d, it is possible to construct a Haiku.",a,b,c);
      |                                                                                                                ^
Language: C

#include<stdio.h>
int main(){
	int A,B,C;
	scanf("%d%d%d",&a,&b,&c);
	if(A==5,B==5,C==7||A==5,B==7,C==5||A==7,B==5,C==5)
	printf("YES");
	else
	printf("NO");
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:25: error: 'a' undeclared (first use in this function)
    4 |         scanf("%d%d%d",&a,&b,&c);
      |                         ^
main.c:4:25: note: each undeclared identifier is reported only once for each function it appears in
main.c:4:28: error: 'b' undeclared (first use in this function)
    4 |         scanf("%d%d%d",&a,&b,&c);
      |                            ^
main.c:4:31: error: 'c' undeclared (first use in this function)
    4 |         scanf("%d%d%d",&a,&b,&c);
      |                               ^
Language: C

#include<stdio.h>
int main(){
	int A,B,C;
	scanf("%d %d %d",&A,&B,&C);
	if(a==5,b==5,c==7||a==5,b==7,c==5||a==7,b==5,c==5)
	printf("YES");
	else
	printf("NO");
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:12: error: 'a' undeclared (first use in this function)
    5 |         if(a==5,b==5,c==7||a==5,b==7,c==5||a==7,b==5,c==5)
      |            ^
main.c:5:12: note: each undeclared identifier is reported only once for each function it appears in
main.c:5:17: error: 'b' undeclared (first use in this function)
    5 |         if(a==5,b==5,c==7||a==5,b==7,c==5||a==7,b==5,c==5)
      |                 ^
main.c:5:22: error: 'c' undeclared (first use in this function)
    5 |         if(a==5,b==5,c==7||a==5,b==7,c==5||a==7,b==5,c==5)
      |                      ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
  int a,b,c;
  cin >> a >> b >>c;
  if(a+b+c == 17){
    if( (a==5 && b ==5) || (b==5 && c==5) || (c==5 && a ==5)){
      cout << "Yes" <<endl;
    }
    else cout << "No" << endl;
  }

Compiler output:
a.cc: In function 'int main()':
a.cc:11:4: error: expected '}' at end of input
   11 |   }
      |    ^
a.cc:3:11: note: to match this '{'
    3 | int main(){
      |           ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
  int a, b, c;
  cin >> a >> b >> c;
  if (a+b+c == 17){
    cout << "YES" << endl;
  else cout << "NO" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:3: error: expected '}' before 'else'
    8 |   else cout << "NO" << endl;
      |   ^~~~
a.cc:6:19: note: to match this '{'
    6 |   if (a+b+c == 17){
      |                   ^
Language: C++

#include<stdio.h>
main()
{

	int a,b,c;
	scanf("%d %d %d",&a,&b,&c);
	if(a=5&&b=7&&c=7)
	{
	printf("YES");
	}
else if(a=5&&b=7&&c=7)
	{
	printf("YES");
	}
else if(b=5&&a=7&&c=7)
	{
	printf("YES");
}
else if(c=5&&a=7&&b=7)
	{
	printf("YES");
	}
else
{
	printf("NO");
}
	
}

Compiler output:
a.cc:2:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    2 | main()
      | ^~~~
a.cc: In function 'int main()':
a.cc:7:20: error: lvalue required as left operand of assignment
    7 |         if(a=5&&b=7&&c=7)
      |                   ~^~~
a.cc:11:17: error: lvalue required as left operand of assignment
   11 | else if(a=5&&b=7&&c=7)
      |                ~^~~
a.cc:15:17: error: lvalue required as left operand of assignment
   15 | else if(b=5&&a=7&&c=7)
      |                ~^~~
a.cc:19:17: error: lvalue required as left operand of assignment
   19 | else if(c=5&&a=7&&b=7)
      |                ~^~~
Language: C++

#include<stdio.h>
#include<algorithm>
int main(){
 	int a[3];
  	scanf("%d%d%d",&a[0],&a[1],&a[2]);
  	sort(a,a+3);
  	if(a[0]==5 && a[1]==5 && a[2] == 7) printf("YES");
  else  printf("NO");
  
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:9: error: 'sort' was not declared in this scope; did you mean 'std::sort'?
    6 |         sort(a,a+3);
      |         ^~~~
      |         std::sort
In file included from /usr/include/c++/14/algorithm:86,
                 from a.cc:2:
/usr/include/c++/14/pstl/glue_algorithm_defs.h:296:1: note: 'std::sort' declared here
  296 | sort(_ExecutionPolicy&& __exec, _RandomAccessIterator __first, _RandomAccessIterator __last);
      | ^~~~
Language: C++

#inlclude<stdio.h>
#include<algorithm>
int main(){
 	int a[3];
  	scanf("%d%d%d",&a[0],&a[1],&a[2]);
  	sort(a,a+3);
  	if(a[0]==5 && a[1]==5 && a[2] == 7) printf("YES");
  else  printf("NO");
  
  return 0;
}


Compiler output:
a.cc:1:2: error: invalid preprocessing directive #inlclude; did you mean #include?
    1 | #inlclude<stdio.h>
      |  ^~~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:5:9: error: 'scanf' was not declared in this scope
    5 |         scanf("%d%d%d",&a[0],&a[1],&a[2]);
      |         ^~~~~
a.cc:6:9: error: 'sort' was not declared in this scope; did you mean 'std::sort'?
    6 |         sort(a,a+3);
      |         ^~~~
      |         std::sort
In file included from /usr/include/c++/14/algorithm:86,
                 from a.cc:2:
/usr/include/c++/14/pstl/glue_algorithm_defs.h:296:1: note: 'std::sort' declared here
  296 | sort(_ExecutionPolicy&& __exec, _RandomAccessIterator __first, _RandomAccessIterator __last);
      | ^~~~
a.cc:7:45: error: 'printf' was not declared in this scope
    7 |         if(a[0]==5 && a[1]==5 && a[2] == 7) printf("YES");
      |                                             ^~~~~~
a.cc:3:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
    2 | #include<algorithm>
  +++ |+#include <cstdio>
    3 | int main(){
a.cc:8:9: error: 'printf' was not declared in this scope
    8 |   else  printf("NO");
      |         ^~~~~~
a.cc:8:9: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
Language: C++

#inlclude<stdio.h>
#include<algorihtm>
int main(){
 	int a[3];
  	scanf("%d%d%d",&a[0],&a[1],&a[2]);
  	sort(a,a+3);
  	if(a[0]==5 && a[1]==5 && a[2] == 7) printf("YES");
  else  printf("NO");
  
  return 0;
}

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #inlclude; did you mean #include?
    1 | #inlclude<stdio.h>
      |  ^~~~~~~~
      |  include
a.cc:2:9: fatal error: algorihtm: No such file or directory
    2 | #include<algorihtm>
      |         ^~~~~~~~~~~
compilation terminated.
Language: C

#include <cstdio>
int main(){
	double a,b,c;
	while(~scanf("%lf %lf %lf", &a, &b, &c)){
		if(a + b + c == 17){
			printf("YES\n");
		}else{
			printf("NO\n");
		}
		
	}
	return 0;
}


Compiler output:
main.c:1:10: fatal error: cstdio: No such file or directory
    1 | #include <cstdio>
      |          ^~~~~~~~
compilation terminated.