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

#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 \n" ;
    }
    else if (A==5 && B==7 && C ==5) 
    {
        cout << "YES\n" ;
    }
    else if (A==7 && B==5 && C==5)
    {
        cout << "YES\n" ;
    }
    else
    {
        cout << "NO\n" ;
    }
    
}



Compiler output:
a.cc:6:1: error: expected unqualified-id before '{' token
    6 | {
      | ^
Language: C++


#include "bits/stdc++.h"

template<typename T>
T get_value(std::istream& is);


int getMinNum_div(int _nOriginal, const std::vector<int>& _avoid)
{
	for (int i = _nOriginal; i < 100000; i++)
	{
		bool bFound = false;
		int c, d;

		c = i;
		while (c > 0 && !bFound)
		{
			div_t dv = div(c, 10);
			if (std::binary_search(_avoid.cbegin(), _avoid.cend(), dv.rem))
			{
				bFound = true;
				break;
			}

			c = dv.quot;
		}
		
		if (!bFound) return i;
	}

	return -1;
}




int abc_042_c()
{
	std::cin.sync_with_stdio(false);
	std::cin.tie(nullptr);

	int N, K;

	std::cin >> N >> K;
	std::vector<int> v(K);

	for (auto& e : v) {
		std::cin >> e;
	}

	int answer = getMinNum_div(N, v);
	std::cout << answer << std::endl;

	return 0;
};


template<typename T>
inline T get_value(std::istream& is)
{
	T v;
	is >> v;
	return v;
}


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 <stdio.h>
 
int main(void)
{
  int first,second,third;
  scanf("%d,%d,%d",&first,&second,&third);
  if(first==5&&second==7&&third==5)printf("YES");
  if(first=!5||second=!7||third=!5)printf("NO");
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:32: error: lvalue required as left operand of assignment
    8 |   if(first=!5||second=!7||third=!5)printf("NO");
      |                                ^
Language: C

#include <stdio.h>

int main(void)
{
  int first,second,third;
  scanf("%d,%d,%d",&first,&second,&third);
  if(first==5&&second==7&&third==5)printf("YES");
  if(first=!5||second=!7||third=!5)printf("NO");
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:32: error: lvalue required as left operand of assignment
    8 |   if(first=!5||second=!7||third=!5)printf("NO");
      |                                ^
Language: C++

#include <string>
#include <sstream>
#include <iostream>
#include <fstream>
//#include <stdlib.h>
#include <queue>
#include <list>
#include <vector>
#include <array>
#include <algorithm>

bool compare(const std::string& _lhs, const std::string& _rhs)
{
	for (int i = 0; i < _lhs.size(); i++)
	{
		if (i >= _rhs.size() ) return false;
		if (_lhs[i] > _rhs[i]) return false;
		else if (_lhs[i] < _rhs[i]) return true;
	}

	return _lhs.size() <= _rhs.size();
}


int main()
{
	int N, L = -1;

	std::vector<std::string> inputVector;
	
	std::string first;
	std::getline(std::cin, first);
	std::istringstream ifst(first);

	ifst >> N >> L;

	for (int i = 0; i < N; i++)
	{
		std::string s;
		std::getline(std::cin, s);
		std::istringstream iss(s);
		inputVector.push_back(iss.str());
	}


	std::sort(inputVector.begin(), inputVector.end(), compare);

	std::ostringstream os;
	std::copy(inputVector.begin(), inputVector.end(), std::ostream_iterator<std::string>(os));
	std::string s = os.str();

	std::cout << s << std::endl;

	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:49:64: error: 'ostream_iterator' is not a member of 'std'
   49 |         std::copy(inputVector.begin(), inputVector.end(), std::ostream_iterator<std::string>(os));
      |                                                                ^~~~~~~~~~~~~~~~
a.cc:11:1: note: 'std::ostream_iterator' is defined in header '<iterator>'; this is probably fixable by adding '#include <iterator>'
   10 | #include <algorithm>
  +++ |+#include <iterator>
   11 | 
a.cc:49:92: error: expected primary-expression before '>' token
   49 |         std::copy(inputVector.begin(), inputVector.end(), std::ostream_iterator<std::string>(os));
      |                                                                                            ^
Language: C++

#include <string>
#include <sstream>
#include <iostream>
#include <queue>
#include <list>
#include <vector>
#include <array>
#include <algorithm>

bool compare(const std::string& _lhs, const std::string& _rhs)
{
	for (int i = 0; i < _lhs.size(); i++)
	{
		if (i >= _rhs.size() ) return false;
		if (_lhs[i] > _rhs[i]) return false;
		else if (_lhs[i] < _rhs[i]) return true;
	}

	return _lhs.size() <= _rhs.size();
}


int main()
{
	int N, L = -1;

	std::vector<std::string> inputVector;
	
	std::string first;
	std::getline(std::cin, first);
	std::istringstream ifst(first);

	ifst >> N >> L;

	for (int i = 0; i < N; i++)
	{
		std::string s;
		std::getline(std::cin, s);
		std::istringstream iss(s);
		inputVector.push_back(iss.str());
	}


	std::sort(inputVector.begin(), inputVector.end(), compare);

	std::ostringstream os;
	std::copy(inputVector.begin(), inputVector.end(), std::ostream_iterator<std::string>(os));
	std::string s = os.str();

	std::cout << s << std::endl;

	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:47:64: error: 'ostream_iterator' is not a member of 'std'
   47 |         std::copy(inputVector.begin(), inputVector.end(), std::ostream_iterator<std::string>(os));
      |                                                                ^~~~~~~~~~~~~~~~
a.cc:9:1: note: 'std::ostream_iterator' is defined in header '<iterator>'; this is probably fixable by adding '#include <iterator>'
    8 | #include <algorithm>
  +++ |+#include <iterator>
    9 | 
a.cc:47:92: error: expected primary-expression before '>' token
   47 |         std::copy(inputVector.begin(), inputVector.end(), std::ostream_iterator<std::string>(os));
      |                                                                                            ^
Language: Java

import java.util.*;

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

Compiler output:
Main.java:20: error: reached end of file while parsing
}
 ^
1 error
Language: C++

s = input()
if s == '5 5 7' or s == '5 7 5' or s == '7 5 5':
	print('YES')
else:
	print('NO')

Compiler output:
a.cc:2:9: warning: multi-character literal with 5 characters exceeds 'int' size of 4 bytes
    2 | if s == '5 5 7' or s == '5 7 5' or s == '7 5 5':
      |         ^~~~~~~
a.cc:2:25: warning: multi-character literal with 5 characters exceeds 'int' size of 4 bytes
    2 | if s == '5 5 7' or s == '5 7 5' or s == '7 5 5':
      |                         ^~~~~~~
a.cc:2:41: warning: multi-character literal with 5 characters exceeds 'int' size of 4 bytes
    2 | if s == '5 5 7' or s == '5 7 5' or s == '7 5 5':
      |                                         ^~~~~~~
a.cc:3:15: warning: multi-character character constant [-Wmultichar]
    3 |         print('YES')
      |               ^~~~~
a.cc:5:15: warning: multi-character character constant [-Wmultichar]
    5 |         print('NO')
      |               ^~~~
a.cc:1:1: error: 's' does not name a type
    1 | s = input()
      | ^
Language: C

#include<stdio.h>

int main(void){
  int a,b,c;
  int trd;
  scanf_s("%d %d %d",&a,&b,&c);
  if(a>b) {
    trd=a;a=b;b=trd;}
  if(a==5){
    if((b==5 && c==7) || (b==7 && c==5)) printf("YES\n");}
  else printf("NO\n");
 return 0; 
}

Compiler output:
main.c: In function 'main':
main.c:6:3: error: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    6 |   scanf_s("%d %d %d",&a,&b,&c);
      |   ^~~~~~~
      |   scanf
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
int fv = 0; svn = 0;
  vector<int> a(3);
  for(int i = 0; i < 3; i++)
	cin >> a[i];
  for(int i = 0; i < 3; i++){
  if(a[i] == 5)
    fv++;
    else if(a[i] == 7)
      svn++;
    else {}
  }
  if(fv == 2 && svn == 1)
    cout << "YES" << endl;
  else
    cout << "NO" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:13: error: 'svn' was not declared in this scope; did you mean 'sin'?
    4 | int fv = 0; svn = 0;
      |             ^~~
      |             sin
Language: C++

#include <bits/stdc++.h>
using namespace std;
#define ll long long 
#define endl "\n"
#define pb push_back
#define f(i,n) for(i=0;i<n;i++)
#define F(i,a,b) for(i=a;a<=b;i++)
#define arr(a,n) for( i=0;i<n;i++)cin>>a[i];
#define fi first
#define se second
#define mp make_pair
#define mod 1000000007
#define YES cout<<"YES"<<endl;
#define Yes cout<<"Yes"<<endl;
#define NO cout<<"NO"<<endl;
#define No cout<<"No"<<endl;
#define yes cout<<"yes"<<endl;
#define no cout<<"no"<<endl;
#define vi vector<ll>
#define ed end()
#define bg begin()
#define sz size()
#define ln length()
#define s() sort(a,a+n);
#define sr() sort(a,a+n,greater<ll>());
#define v()  sort(v.begin(),v.end());
#define vr() sort(v.begin(),v.end(),greater<ll>());
#define mod 1000000007
#define fast() ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0)
ll gcd(ll a, ll b){if(!b)return a;return gcd(b, a % b);}
ll power(ll x,ll y,ll p){ll res=1;x%=p;while(y>0){if(y&1)res=(res*x)%p;y=y>>1;x=(x*x)%p;}return res;}
int main() {
/*    #ifndef ONLINE_JUDGE
      // for getting input from input.txt
      freopen("input.txt", "r", stdin);
      // for writing output to output.txt
      freopen("output.txt", "w", stdout);
  #endif*/
fast();
//ll  t;cin>>t;while(t--)
{
  ll a[3];
  cin>>a[0]>>a[1]>>a[2];
  sort(a,a+n);
  if(a[0]==5&&a[1]==5&&a[2]==7)
    YES
  else
    NO
  
  

}
return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:44:12: error: 'n' was not declared in this scope
   44 |   sort(a,a+n);
      |            ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main()
{
  vector<int> v;
  for(int i=0;i<3;i++)
    int x=0;cin >> x; v.push_back(x);
  sort(v.begin(),v.end());
  if(v[0]==5 && v[1]==5 && v[2]==7){cout <<"YES"<<endl;}
  else{cout << "NO";}
}
  

Compiler output:
a.cc: In function 'int main()':
a.cc:7:20: error: 'x' was not declared in this scope
    7 |     int x=0;cin >> x; v.push_back(x);
      |                    ^
Language: C++

#include<iostream>
using namespace std;

int main()
{
	int a, b, c;
	vector<int> arr(3);
	cin >> arr[0] >> arr[1] >> arr[2];
	sort(arr.begin(), arr.end());
	if (arr[0] == 5 && arr[1] == 5 && arr[2] == 7)
	{
		cout << "YES" << endl;
	}
	else
	{
		cout << "NO" << endl;
	}
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:9: error: 'vector' was not declared in this scope
    7 |         vector<int> arr(3);
      |         ^~~~~~
a.cc:2:1: note: 'std::vector' is defined in header '<vector>'; this is probably fixable by adding '#include <vector>'
    1 | #include<iostream>
  +++ |+#include <vector>
    2 | using namespace std;
a.cc:7:16: error: expected primary-expression before 'int'
    7 |         vector<int> arr(3);
      |                ^~~
a.cc:8:16: error: 'arr' was not declared in this scope
    8 |         cin >> arr[0] >> arr[1] >> arr[2];
      |                ^~~
a.cc:9:9: error: 'sort' was not declared in this scope; did you mean 'short'?
    9 |         sort(arr.begin(), arr.end());
      |         ^~~~
      |         short
Language: C++

#include<iostream>
using namespace std;
 
int main()
{
  int a, b, c;
  vector<int> arr(3);
  cin>>arr[0]>>arr[1]>>arr[2];
  sort(arr.begin(), arr.end());
  if(arr[0] == 5 && arr[1] == 5 && arr[2] == 7)
  {
    cout<<"YES"<<endl;
  }
  else
  {
    cout<<"NO"<<endl;
  }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:3: error: 'vector' was not declared in this scope
    7 |   vector<int> arr(3);
      |   ^~~~~~
a.cc:2:1: note: 'std::vector' is defined in header '<vector>'; this is probably fixable by adding '#include <vector>'
    1 | #include<iostream>
  +++ |+#include <vector>
    2 | using namespace std;
a.cc:7:10: error: expected primary-expression before 'int'
    7 |   vector<int> arr(3);
      |          ^~~
a.cc:8:8: error: 'arr' was not declared in this scope
    8 |   cin>>arr[0]>>arr[1]>>arr[2];
      |        ^~~
a.cc:9:3: error: 'sort' was not declared in this scope; did you mean 'short'?
    9 |   sort(arr.begin(), arr.end());
      |   ^~~~
      |   short
Language: C++

#include<bits/stdc++.h>
using namespace std;
typedef long long int ll;
#define fast ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL);
#define endl "\n"
#define pb push_back
#define all(a) (a).begin(),(a).end()
#define rev(a) (a).rbegin(),(a).rend()
#define pll pair<ll,ll>
#define rep(i,a,b) for(long long i = (a); i <= (b); i++)
ll modi = 1000000007;

bool cp(ll n){
    if(n == 1)return false;
    else if(n == 2)return true;
    else if(n ==3)return true;
    for(int i  = 2; i*i<=n; i++){
        if(n%i == 0){
            return false;
        }
    }
    return true;
}
void SforPrime(int n)
{
	bool prime[n+1];
	memset(prime, true, sizeof(prime));

	for (int p=2; p*p<=n; p++)
	{
		if (prime[p] == true)
		{
			for (int i=p*p; i<=n; i += p)
				prime[i] = false;
		}
	}
}
ll calPower(ll val, ll n){
    ll i = 1;
    ll ind = 1;
    ll prev = val;
    while(val<=n){
        if(n%val == 0)ind = i;
        val  = val*prev;
        i++;
    }
    return i-1;
}
int main(){
    //130016239756757
    ll arr[3];
    cin>>arr[0]>>arr[1]>>arr[2];
    sort(arr, arr+n);
    if(arr[0] == 5 && arr[1] == 5 && arr[2] == 7){
      cout<<"YES"<<endl;
    }else cout<<"NO"<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:53:19: error: 'n' was not declared in this scope; did you mean 'yn'?
   53 |     sort(arr, arr+n);
      |                   ^
      |                   yn
Language: Java

import java.util.*;
import java.util.ArrayList;
public class Main {
	public static void main(String[] args){
    	int a = sc.nextInt();
      	int b = sc.nextInt();
        int c = sc.nextInt();
      	if(a+b+c == 15){
        	if(a == 5 || b == 5|| c == 5){
            	if(a == 7||b==7||c==7){
                	System.out.println("YES");
                }else{
                	System.out.println("NO");
                }
            }
        }
      
    }
}

Compiler output:
Main.java:5: error: cannot find symbol
    	int a = sc.nextInt();
    	        ^
  symbol:   variable sc
  location: class Main
Main.java:6: error: cannot find symbol
      	int b = sc.nextInt();
      	        ^
  symbol:   variable sc
  location: class Main
Main.java:7: error: cannot find symbol
        int c = sc.nextInt();
                ^
  symbol:   variable sc
  location: class Main
3 errors
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:7:15: error: lvalue required as left operand of assignment
    7 | if(A=7||5&&B=7||5&&C=7||5)
      |              ~^~~~~~
Language: C++

#include <iostream>

using namespace std;

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

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

nums = [int(i) for i in input().split()]
if len(nums) == 3:
    if nums.count(5) == 2 and nums.count(7) == 1:
        print("YES")
    else:
        print("NO")

Compiler output:
a.cc:1:1: error: 'nums' does not name a type
    1 | nums = [int(i) for i in input().split()]
      | ^~~~
Language: C

#include <stdio.h>
int main(void){
    int a1,b2,c3,five=0,seven=0;
    scanf(%d%d%d,&a1,&b2,&c3);
    if(a1==5){
        five++;
    }else if(a1==7){
        seven++;
    }
    if(b2==5){
        five++;
    }else if(b2==7){
        seven++;
    }
    if(c3==5){
        five++;
    }else if(c3==7){
        seven++;
    }
    if(five==2||seven==1){
        printf("YES");
    }else{
        printf("NO");
    }
    return 0;
	}

Compiler output:
main.c: In function 'main':
main.c:4:11: error: expected expression before '%' token
    4 |     scanf(%d%d%d,&a1,&b2,&c3);
      |           ^
Language: C++

#include <iostream>
#include <cstdio>
#include <cstring>
using namespace std;
int main(){
  int a,b,c;
  cin>>a>>b>>c;
  if(a*b*c=5*5*7)cout<<"YES";
  else cout<<"NO";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:9: error: lvalue required as left operand of assignment
    8 |   if(a*b*c=5*5*7)cout<<"YES";
      |      ~~~^~
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:8:12: error: overloaded function with no contextual type information
    8 |     swap = a;
      |            ^
a.cc:10:9: error: cannot resolve overloaded function 'swap' based on conversion to type 'int'
   10 |     b = swap;
      |         ^~~~
a.cc:13:12: error: overloaded function with no contextual type information
   13 |     swap = a;
      |            ^
a.cc:15:9: error: cannot resolve overloaded function 'swap' based on conversion to type 'int'
   15 |     b = swap;
      |         ^~~~
a.cc: At global scope:
a.cc:26:5: error: redefinition of 'int main()'
   26 | int main() {
      |     ^~~~
a.cc:4:5: note: 'int main()' previously defined here
    4 | int main() {
      |     ^~~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:12: error: overloaded function with no contextual type information
    8 |     swap = a;
      |            ^
a.cc:10:9: error: cannot resolve overloaded function 'swap' based on conversion to type 'int'
   10 |     b = swap;
      |         ^~~~
a.cc:13:12: error: overloaded function with no contextual type information
   13 |     swap = a;
      |            ^
a.cc:15:9: error: cannot resolve overloaded function 'swap' based on conversion to type 'int'
   15 |     b = swap;
      |         ^~~~
Language: C++

#include <iostream>
#include <vector>
using namespace std;

int main() {
    vector<int> vec(3);
    for (int i = 0; i < 3; i++) cin >> vec.at(i);
    sort(vec.begin(), vec.end());
    if (vec[0] == vec[1] && vec[0] == 5 && vec[2] == 7) cout << "YES" << endl;
    else cout << "NO" << endl;
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:5: error: 'sort' was not declared in this scope; did you mean 'short'?
    8 |     sort(vec.begin(), vec.end());
      |     ^~~~
      |     short
Language: C++

#include <iostream>
#include <vector>

using namespace std;

int main(){
    int num;
    vector<int> syllables;

    for(int i=1; i<=3; i++){
        cin >> num;
        syllables.push_back(num);
    }

    sort(syllables.begin(), syllables.end());

    if(syllables[0] == 5 && syllables[1] == 5 && syllables[2] == 7)
        cout << "YES";
    else
        cout << "NO";

    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:15:5: error: 'sort' was not declared in this scope; did you mean 'short'?
   15 |     sort(syllables.begin(), syllables.end());
      |     ^~~~
      |     short
Language: C++

#include<bits/stdc++.h>
 
// Competetive Template:
typedef long long int lli;
typedef unsigned long long int ulli;
typedef long double ldb;
 
#define pb push_back
#define pf push_front
#define popb pop_back
#define popf pop_front
#define ba  back
#define si size()
#define be begin()
#define en end()
#define le length()
#define mp make_pair 
#define mt make_tuple
#define fi first
#define se second
#define gcd __gcd
#define maxe *max_element
#define mine *min_element
 
#define forz(i,n) for(long long int i=0;i<n;i++)
#define rep(i,k,n) for (lli i = k; i <= n; i++)
#define deci(n)  fixed<<setprecision(n)
#define high(n) __builtin_popcount(n)
#define parity(n) __builtin_parity(n)
#define ctz(n)  __builtin_ctz(n)
#define mod 1000000007
#define mod2 998244353
#define kira ios::sync_with_stdio(0), cin.tie(0),cout.tie(0)
#define  randomINIT     mt19937 rnd(chrono::steady_clock::now().time_since_epoch().count());

using namespace std;
typedef pair <lli,lli> pll;
 
// CODE BEGINS :

lli log3(lli x)
{
    return (lli)((double)log((double)x)/log((double)3));
}

int main()
{
    kira; randomINIT;
    
    lli t;
  
  forz(i,3)
  {
    cin>>t; v.pb(t);
  }
  
  sort(v.be, v.en);
  
  if(v[0]==5 && v[1]==5 && v[2]==7)
    cout<<"YES"<<endl;
  
  else
    cout<<"NO"<<endl;
    
    return 0;
}

















Compiler output:
a.cc: In function 'int main()':
a.cc:54:13: error: 'v' was not declared in this scope
   54 |     cin>>t; v.pb(t);
      |             ^
a.cc:57:8: error: 'v' was not declared in this scope
   57 |   sort(v.be, v.en);
      |        ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  vector<int> w(3);
  for(int i=0;i<3;i++){
    cin >> w.at(i);
  }
  bool answer = 0
    if((w.at(1)==5 && w.at(2)==5 && w.at(3)==7)||
      (w.at(1)==5 && w.at(2)==7 && w.at(3)==5)||
      (w.at(1)==7 && w.at(2)==5 && w.at(3)==5)){
      answer = 1 }
  if(answer){
    cout << "YES"<< endl;}
  else{
    cout << "NO" <<endl;}
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:5: error: expected ',' or ';' before 'if'
   10 |     if((w.at(1)==5 && w.at(2)==5 && w.at(3)==7)||
      |     ^~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  vector<int> w.at(3);
  for(int i=0;i<3;i++){
    cin >> w.at(i);
  }
  bool answer = 0
    if((w.at(1)==5 && w.at(2)==5 && w.at(3)==7)||
      (w.at(1)==5 && w.at(2)==7 && w.at(3)==5)||
      (w.at(1)==7 && w.at(2)==5 && w.at(3)==5)){
      answer = 1 }
  if(answer){
    cout << "YES"<< endl;}
  else{
    cout << "NO" <<endl;}
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:16: error: expected initializer before '.' token
    5 |   vector<int> w.at(3);
      |                ^
a.cc:7:12: error: 'w' was not declared in this scope
    7 |     cin >> w.at(i);
      |            ^
a.cc:10:5: error: expected ',' or ';' before 'if'
   10 |     if((w.at(1)==5 && w.at(2)==5 && w.at(3)==7)||
      |     ^~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  vector<int> w.at(3);
  for(int i=0;i<3;i++){
    cin >> w.at(i) >> endl;
  }
  bool answer = 0
    if((w.at(1)==5 && w.at(2)==5 && w.at(3)==7)||
      (w.at(1)==5 && w.at(2)==7 && w.at(3)==5)||
      (w.at(1)==7 && w.at(2)==5 && w.at(3)==5)){
      answer = 1 }
  if(answer){
    cout << "YES"<< endl;}
  else{
    cout << "NO" <<endl;}
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:16: error: expected initializer before '.' token
    5 |   vector<int> w.at(3);
      |                ^
a.cc:7:12: error: 'w' was not declared in this scope
    7 |     cin >> w.at(i) >> endl;
      |            ^
a.cc:10:5: error: expected ',' or ';' before 'if'
   10 |     if((w.at(1)==5 && w.at(2)==5 && w.at(3)==7)||
      |     ^~
Language: C++

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

int main(){
  map<int> m;
  int a;
  for(int i=0;i<3;++i){
    cin >> a;
    ++m[a];
  }
  if(m[5] == 2 && m[7] == 1) cout << "YES" << endl;
  else cout << "NO" << endl;
  
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:10: error: wrong number of template arguments (1, should be at least 2)
    5 |   map<int> m;
      |          ^
In file included from /usr/include/c++/14/map:63,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:152,
                 from a.cc:1:
/usr/include/c++/14/bits/stl_map.h:102:11: note: provided for 'template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map'
  102 |     class map
      |           ^~~
a.cc:9:8: error: invalid types 'int[int]' for array subscript
    9 |     ++m[a];
      |        ^
a.cc:11:7: error: invalid types 'int[int]' for array subscript
   11 |   if(m[5] == 2 && m[7] == 1) cout << "YES" << endl;
      |       ^
a.cc:11:20: error: invalid types 'int[int]' for array subscript
   11 |   if(m[5] == 2 && m[7] == 1) cout << "YES" << endl;
      |                    ^
Language: C

int main(void){

	char A;
    char B;
    char C;
    
	scanf("%c,%c,%c",&A,&B,&C);
    
    if ( A == array[5], B == array[7], C == array[5]){
	printf("YES\n");
    } else {
    printf("NO\n");
    }
    
    return 0;
    
}

Compiler output:
main.c: In function 'main':
main.c:7:9: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    7 |         scanf("%c,%c,%c",&A,&B,&C);
      |         ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | int main(void){
main.c:7:9: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    7 |         scanf("%c,%c,%c",&A,&B,&C);
      |         ^~~~~
main.c:7:9: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:9:15: error: 'array' undeclared (first use in this function)
    9 |     if ( A == array[5], B == array[7], C == array[5]){
      |               ^~~~~
main.c:9:15: note: each undeclared identifier is reported only once for each function it appears in
main.c:10:9: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
   10 |         printf("YES\n");
      |         ^~~~~~
main.c:10:9: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:10:9: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:10:9: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:12:5: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
   12 |     printf("NO\n");
      |     ^~~~~~
main.c:12:5: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C

include<stdio.h>

int main(void){

	char A;
    char B;
    char C;
    
	scanf("%c,%c,%c",&A,&B,&C);
    
    if ( A == array[5], B == array[7], C == array[5]){
	printf("YES\n");
    } else {
    printf("NO\n");
    }
    
    return 0;
    
}

Compiler output:
main.c:1:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | include<stdio.h>
      |        ^
Language: C

include<stdio.h>

int main(void){

	int A;
    int B;
    int C;
    
	scanf("%d%d%d",&A,&B,&C);
    
    if ( A == 5, B == 7, C == 5){
	printf("YES\n");
    } else {
    printf("NO\n");
    }
    
    return 0;
    
}

Compiler output:
main.c:1:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | include<stdio.h>
      |        ^
Language: C++

#include<iostream>
#include<vector>

int five_count = 0;
int seven_count = 0;

int main() {
    std::vector<std::string> lines(3);
    
    for (int i=0; i<3; i++) {
        std::cin >> lines[i];
        
        if (lines[i].size() == 5) five_count++;
        else if (lines[i]size() == 7) seven_count++;
    }
    
    if (five_count == 2 && seven_count == 1) std::cout << "YES" << std::endl;
    else std::cout << "NO" << std::endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:14:26: error: expected ')' before 'size'
   14 |         else if (lines[i]size() == 7) seven_count++;
      |                 ~        ^~~~
      |                          )
a.cc:14:37: error: could not convert 'lines.std::vector<std::__cxx11::basic_string<char> >::operator[](((std::vector<std::__cxx11::basic_string<char> >::size_type)i))' from '__gnu_cxx::__alloc_traits<std::allocator<std::__cxx11::basic_string<char> >, std::__cxx11::basic_string<char> >::value_type' {aka 'std::__cxx11::basic_string<char>'} to 'bool'
   14 |         else if (lines[i]size() == 7) seven_count++;
      |                                     ^
      |                                     |
      |                                     __gnu_cxx::__alloc_traits<std::allocator<std::__cxx11::basic_string<char> >, std::__cxx11::basic_string<char> >::value_type {aka std::__cxx11::basic_string<char>}
Language: C++

#include <iostream>
#include <algorithm>

using namespace std;

int main()
{
	int a[3] = 0;
    cin >> a[0] >> a[1] >> a[2];
    
    sort(a, a+3);
    
    if(a[0] == 5 && a[1] == 5 && a[2] == 7)
    	cout << "YES";
    else
    	cout << "NO";

	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:20: error: array must be initialized with a brace-enclosed initializer
    8 |         int a[3] = 0;
      |                    ^
Language: C++

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

int main(){

  vector<int> vec(3);

  for (int i=0; i<3; i++){
    cin >> vec.at(i);
  }

  sort(vec.begin(),vec.end());

  if (vec.at(0)==5 && vec.at(1)==5 && vec.at(2)==7){
    return "YES";
  }
  else {
    return "NO";
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:15:12: error: invalid conversion from 'const char*' to 'int' [-fpermissive]
   15 |     return "YES";
      |            ^~~~~
      |            |
      |            const char*
a.cc:18:12: error: invalid conversion from 'const char*' to 'int' [-fpermissive]
   18 |     return "NO";
      |            ^~~~
      |            |
      |            const char*
Language: C++

#include<iostream>
using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:15: error: expected ';' before 'if'
    6 |   cin>>a>>b>>c
      |               ^
      |               ;
    7 |   if(a == 5 && b == 5 & c == 7)
      |   ~~           
a.cc:9:3: error: 'else' without a previous 'if'
    9 |   else if(a == 5 && b == 7 & c == 5)
      |   ^~~~
Language: C++

a=[int(i) for i in input().split()]
a.sort()
if a=[5, 5, 7]
 print(YES);
else print(NO);
 
  

Compiler output:
a.cc:1:1: error: 'a' does not name a type
    1 | a=[int(i) for i in input().split()]
      | ^
a.cc:5:1: error: expected unqualified-id before 'else'
    5 | else print(NO);
      | ^~~~
Language: Java

public class Main{
  public static void main(String [] args)throws Exception{

    BufferedReader br = new BufferedReader (new InputStreamReader(System.in));
    String [] inp = br.readLine();
    int a = Integer.parseInt(inp[0]);
	int b = Integer.parseInt(inp[1]);
	int c = Integer.parseInt(inp[2]);
    if(a<5||a>7||b<5||b>7||c<5||c>7){
      System.out.println("NO");
    }else if((a+b+c)=17){
      if(a!=6 &&b!=6 && c!=6){
        System.out.println("YES");
      }else{
        System.out.println("NO");
      }
    }
  	else{
      System.out.println("NO");
    }

    
  }
}

Compiler output:
Main.java:4: error: cannot find symbol
    BufferedReader br = new BufferedReader (new InputStreamReader(System.in));
    ^
  symbol:   class BufferedReader
  location: class Main
Main.java:4: error: cannot find symbol
    BufferedReader br = new BufferedReader (new InputStreamReader(System.in));
                            ^
  symbol:   class BufferedReader
  location: class Main
Main.java:4: error: cannot find symbol
    BufferedReader br = new BufferedReader (new InputStreamReader(System.in));
                                                ^
  symbol:   class InputStreamReader
  location: class Main
Main.java:11: error: unexpected type
    }else if((a+b+c)=17){
                 ^
  required: variable
  found:    value
4 errors
Language: C++

#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 << "OK" << endl;
  }
  
  if(A=5,B=7,C=5){
    cout << "OK" << endl;
  }
  
  if(A=7,B=5,C=5){
    cout << "OK" << endl;
  }
  
  else if{
    cout << "NO" << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:22:10: error: expected '(' before '{' token
   22 |   else if{
      |          ^
      |          (
Language: Java

package app;
import java.util.*;
public class App {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        int[] a = new int[3];
        int five = 0;
        int seven = 0;

        for(int i = 0; i < a.length; i++){
            // System.out.println(i + "文字目を入力してください");
            a[i] = sc.nextInt();
        }
        for(int i = 0; i < a.length; i++){
            if(a[i] == 5){
                five++;
            } else if(a[i] == 7){
                seven++;
            }
        }
        if(five == 2 && seven == 1){
            System.out.println("YES");
        }else{
            System.out.println("NO");
        }
    }
}

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

package app;

import java.util.*;

public class App {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        int[] a = new int[3];
        for(int i = 0; i < a.length; i++){
            System.out.println(i + "文字目を入力してください");
            a[i] = sc.nextInt();
        }
        int five = 0;
        int seven = 0;
        for(int i = 0; i<a.length; i++){
            if(a[i] == 5){
                five++;
            } else if(a[i] == 7){
                seven++;
            }
        }
        if(five == 2 && seven == 1){
            System.out.println("YES");
        } else {
            System.out.println("NO");
        }
        
    }
}

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

#include <iostream>
#include <conio.h>
using namespace std;

int main(void)
{
	int sevencnt = 0, fivecnt = 0;
	int num[3];
		for (int i = 0; i < 3; i++)
		{
			cin >> num[i];
		}

	for (int i = 0; i < 3; i++)
	{
		if (num[i] == 7)
		{
			sevencnt++;
		}
		else if (num [i] == 5)
		{
			fivecnt++;
		}
	}

	if (fivecnt == 2 && sevencnt == 1)
	{
		cout << "YES" << endl;
	}
	else
	{
		cout << "NO" << endl;
	}
	_getch();
}

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

#incloud <iostream>

void input();
using namespace std;

int main(void)
{
  int sevencnt =0,fivecnt =0;
  int num[3]
    for(int i; i < 3; i++)
    {
  		 cin << num[i];
    }
  
	for(int i; i < 3; i++)
    {
  		if(num[i] == 7)
        {
          sevencnt++;
        }
       else if(num i == 5)
       {
         fivecnt++;
       }
    }
  
   if(fivecnt == 2 && sevencnt ==1)
   {
     Cout >> "YES" >> endl;
   }
  else
  {
    Cout >> "NO" >> endl;
  }
  
}


Compiler output:
a.cc:1:2: error: invalid preprocessing directive #incloud; did you mean #include?
    1 | #incloud <iostream>
      |  ^~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:10:5: error: expected initializer before 'for'
   10 |     for(int i; i < 3; i++)
      |     ^~~
a.cc:10:16: error: 'i' was not declared in this scope
   10 |     for(int i; i < 3; i++)
      |                ^
a.cc:17:20: error: 'num' was not declared in this scope; did you mean 'enum'?
   17 |                 if(num[i] == 7)
      |                    ^~~
      |                    enum
a.cc:21:19: error: expected ')' before 'i'
   21 |        else if(num i == 5)
      |               ~   ^~
      |                   )
a.cc:29:6: error: 'Cout' was not declared in this scope
   29 |      Cout >> "YES" >> endl;
      |      ^~~~
a.cc:29:23: error: 'endl' was not declared in this scope
   29 |      Cout >> "YES" >> endl;
      |                       ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | #incloud <iostream>
a.cc:33:5: error: 'Cout' was not declared in this scope
   33 |     Cout >> "NO" >> endl;
      |     ^~~~
a.cc:33:21: error: 'endl' was not declared in this scope
   33 |     Cout >> "NO" >> endl;
      |                     ^~~~
a.cc:33:21: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
Language: C

<stdio.h>    
int main(int A,B,C){
      int i=0;
    	if(A==5){
        	if(B==5){
            	if(C==7){
                printf("YES");
                  i++;
                }
            }else if(B==7){
            	if(C==5){
                printf("YES");
                  i++;
                }
            }
        }else if(A==7){
        	if(B==5){
            	if(C==5){
                printf("YES");
                  i++;
                }
            }
        }else if(i==0){
        printf("NO");
        }
    }

Compiler output:
main.c:1:1: error: expected identifier or '(' before '<' token
    1 | <stdio.h>
      | ^
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:12:25: error: expected ';' before '}' token
   12 |         cout<<"NO"<<endl
      |                         ^
      |                         ;
   13 |    }
      |    ~
Language: C++

//include
//------------------------------------------
#include <vector>
#include <list>
#include <map>
#include <set>
#include <deque>
#include <stack>
#include <bitset>
#include <algorithm>
#include <functional>
#include <numeric>
#include <utility>
#include <sstream>
#include <iostream>
#include <iomanip>
#include <cstdio>
#include <cmath>
#include <cstdlib>
#include <cctype>
#include <string>
#include <cstring>
#include <ctime>

using namespace std;

//conversion
//------------------------------------------
inline int toInt(string s) {int v; istringstream sin(s);sin>>v;return v;}
template<class T> inline string toString(T x) {ostringstream sout;sout<<x;return sout.str();}

//math
//-------------------------------------------
template<class T> inline T sqr(T x) {return x*x;}

//typedef
//------------------------------------------
typedef vector<int> VI;
typedef vector<VI> VVI;
typedef vector<string> VS;
typedef pair<int, int> PII;
typedef long long LL;

//container util
//------------------------------------------
#define ALL(a)  (a).begin(),(a).end()
#define RALL(a) (a).rbegin(), (a).rend()
#define PB push_back
#define MP make_pair
#define SZ(a) int((a).size())
#define EACH(i,c) for(typeof((c).begin()) i=(c).begin(); i!=(c).end(); ++i)
#define EXIST(s,e) ((s).find(e)!=(s).end())
#define SORT(c) sort((c).begin(),(c).end())

//repetition
//------------------------------------------
#define FOR(i,a,b) for(int i=(a);i<(b);++i)
#define REP(i,n)  FOR(i,0,n)

//constant
//--------------------------------------------
const double EPS = 1e-10;
const double PI  = acos(-1.0);

//clear memory
#define CLR(a) memset((a), 0 ,sizeof(a))

//debug
#define dump(x)  cerr << #x << " = " << (x) << endl;
#define debug(x) cerr << #x << " = " << (x) << " (L" << __LINE__ << ")" << " " << __FILE__ << endl;



int main(){
    int A,B,C;
    cin >> A >> B >> C:
    bool act=false;
    if(A==5 && B==5 && C==7){
        act=true;
    }
    if(A==5 && B==7 && C==5){
        act=true;
    }
    if(A==7 && B==5 && C==5){
        act=true;
    }
    if(act){
        cout << "YES";
    }
    else{
        cout << "NO";
    }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:76:23: error: expected ';' before ':' token
   76 |     cin >> A >> B >> C:
      |                       ^
      |                       ;
a.cc:79:9: error: 'act' was not declared in this scope
   79 |         act=true;
      |         ^~~
a.cc:82:9: error: 'act' was not declared in this scope
   82 |         act=true;
      |         ^~~
a.cc:85:9: error: 'act' was not declared in this scope
   85 |         act=true;
      |         ^~~
a.cc:87:8: error: 'act' was not declared in this scope
   87 |     if(act){
      |        ^~~
Language: C++

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

// types
typedef long long ll;
typedef long double ld;
typedef pair<int,int> pii;
typedef pair<ll,ll> pll;
typedef pair<ld,ld> pdd;
typedef vector<ll> vll;

// macros
#define ALL(a) a.begin(),a.end()
#define SZ(a) ((int)a.size())
#define FI first
#define SE second
#define REP(i,n) for(int i=0;i<((int)n);i++)
#define REP1(i,n) for(int i=1;i<((int)n);i++)
#define FOR(i,a,b) for(int i=(a);i<(b);i++)
#define PB push_back
#define EB emplace_back
#define MP(a,b) make_pair(a,b)
#define SORT_UNIQUE(c) (sort(c.begin(),c.end()), c.resize(distance(c.begin(),unique(c.begin(),c.end()))))
#define GET_POS(c,x) (lower_bound(c.begin(),c.end(),x)-c.begin())
#define Decimal fixed<<setprecision(20)
#define INF 1000000000
#define LLINF 1000000000000000000LL

// constants
const int inf = 1e9;
const ll linf = 1LL << 50;
const double eps = 1e-10;
const int MOD = 1e9 + 7;
const int dx[4] = {-1, 0, 1, 0};
const int dy[4] = {0, -1, 0, 1};

int main(){
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  
  ll a,b,c;
  cin >> a >> b >> c;
  
  mat<ll, ll> s;
  s[a] += 1;
  s[b] += 1;
  s[c] += 1;
  
  if(s[5]==2 && s[7] == 1)
    cout << "YES" << endl;
  else
    cout << "NO" << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:44:3: error: 'mat' was not declared in this scope
   44 |   mat<ll, ll> s;
      |   ^~~
a.cc:44:9: error: expected primary-expression before ',' token
   44 |   mat<ll, ll> s;
      |         ^
a.cc:44:13: error: expected primary-expression before '>' token
   44 |   mat<ll, ll> s;
      |             ^
a.cc:44:15: error: 's' was not declared in this scope
   44 |   mat<ll, ll> s;
      |               ^
Language: C++

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

// types
typedef long long ll;
typedef long double ld;
typedef pair<int,int> pii;
typedef pair<ll,ll> pll;
typedef pair<ld,ld> pdd;
typedef vector<ll> vll;

// macros
#define ALL(a) a.begin(),a.end()
#define SZ(a) ((int)a.size())
#define FI first
#define SE second
#define REP(i,n) for(int i=0;i<((int)n);i++)
#define REP1(i,n) for(int i=1;i<((int)n);i++)
#define FOR(i,a,b) for(int i=(a);i<(b);i++)
#define PB push_back
#define EB emplace_back
#define MP(a,b) make_pair(a,b)
#define SORT_UNIQUE(c) (sort(c.begin(),c.end()), c.resize(distance(c.begin(),unique(c.begin(),c.end()))))
#define GET_POS(c,x) (lower_bound(c.begin(),c.end(),x)-c.begin())
#define Decimal fixed<<setprecision(20)
#define INF 1000000000
#define LLINF 1000000000000000000LL

// constants
const int inf = 1e9;
const ll linf = 1LL << 50;
const double eps = 1e-10;
const int MOD = 1e9 + 7;
const int dx[4] = {-1, 0, 1, 0};
const int dy[4] = {0, -1, 0, 1};

int main(){
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  
  ll a,b,c;
  cin >> a >> b >> c;
  
  mat<ll, ll> s;
  s[a] += 1;
  s[b] += 1;
  s[c] += 1;
  
  if(mat[5]==2 && mat[7] == 1)
    cout << "YES" << endl;
  else
    cout << "NO" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:44:3: error: 'mat' was not declared in this scope
   44 |   mat<ll, ll> s;
      |   ^~~
a.cc:44:9: error: expected primary-expression before ',' token
   44 |   mat<ll, ll> s;
      |         ^
a.cc:44:13: error: expected primary-expression before '>' token
   44 |   mat<ll, ll> s;
      |             ^
a.cc:44:15: error: 's' was not declared in this scope
   44 |   mat<ll, ll> s;
      |               ^
Language: C++

#include<iostream>
#include<vector>
using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:5: error: 'sort' was not declared in this scope; did you mean 'short'?
    7 |     sort(haiku.begin(),haiku.end());
      |     ^~~~
      |     short
Language: C

#include<stdio.h>

int main() {
	int A, B, C = 0;

	scanf_s("%d %d %d", &A, &B, &C);

	if (A==B==5,C==7 || B==C==5,A==7 || A==C==5,B==7  ) {
		printf("YES");
	}
	else {
		printf("NO");
	}
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:9: error: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    6 |         scanf_s("%d %d %d", &A, &B, &C);
      |         ^~~~~~~
      |         scanf
Language: C

#include<stdio.h>

int main() {
	int A, B, C = 0;

	scanf_s("%d %d %d", &A, &B, &C);

	if (A==B==5,C==7 ||B==C==5,A==7 || A==C==5,B==7  ) {
		printf("YES");
	}
	else {
		printf("NO");
	}
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:9: error: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    6 |         scanf_s("%d %d %d", &A, &B, &C);
      |         ^~~~~~~
      |         scanf
Language: C++

#include <iostream>
using namespace std;
int main(){
  int a,b=0,c=0;
  for(int i=0;i<3;i++){
    cin>>a;
  if(a==5){
    b++;
  }
  else if(a==7){
    c++;
  }
    cout<<a;
 }
  if(b==2&&c==1){
    cout << "YES";
  }
  else{
    cout << "NO";
  }


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

#include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
int main{
  vector <int> a(3);
  for(int i=0;i<3;i++){
    cin >> a[i];
  }
  sort(a.begin(),a.end());
  if(a[0]==5&&a[1]==a[2]&&a[1]==7){
    cout << "YES";
  }
  else{
    cout << "NO";
  }
  return 0;
}

Compiler output:
a.cc:5:5: error: cannot declare '::main' to be a global variable
    5 | int main{
      |     ^~~~
a.cc:6:16: error: expected primary-expression before 'a'
    6 |   vector <int> a(3);
      |                ^
a.cc:6:16: error: expected '}' before 'a'
a.cc:5:9: note: to match this '{'
    5 | int main{
      |         ^
a.cc:7:3: error: expected unqualified-id before 'for'
    7 |   for(int i=0;i<3;i++){
      |   ^~~
a.cc:7:15: error: 'i' does not name a type
    7 |   for(int i=0;i<3;i++){
      |               ^
a.cc:7:19: error: 'i' does not name a type
    7 |   for(int i=0;i<3;i++){
      |                   ^
a.cc:10:7: error: expected constructor, destructor, or type conversion before '(' token
   10 |   sort(a.begin(),a.end());
      |       ^
a.cc:11:3: error: expected unqualified-id before 'if'
   11 |   if(a[0]==5&&a[1]==a[2]&&a[1]==7){
      |   ^~
a.cc:14:3: error: expected unqualified-id before 'else'
   14 |   else{
      |   ^~~~
a.cc:17:3: error: expected unqualified-id before 'return'
   17 |   return 0;
      |   ^~~~~~
a.cc:18:1: error: expected declaration before '}' token
   18 | }
      | ^
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