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

using namespace std;

int main() {
  int a, b;
  cin >> a >> b;
  int c;
  
  if (b < 10) c = a*10+b;
  else if(b < 100) c =a*100+b;
  else c = a*1000+b;
  
  double d = sqrt(c);
  if (d - int(d) == 0) {
    cout << "Yes" << endl;
    return 0;
  }
  
  cout << "No" << endl;
  
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:3: error: 'cin' was not declared in this scope
    5 |   cin >> a >> b;
      |   ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | using namespace std;
a.cc:12:14: error: 'sqrt' was not declared in this scope
   12 |   double d = sqrt(c);
      |              ^~~~
a.cc:14:5: error: 'cout' was not declared in this scope
   14 |     cout << "Yes" << endl;
      |     ^~~~
a.cc:14:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:14:22: error: 'endl' was not declared in this scope
   14 |     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 | using namespace std;
a.cc:18:3: error: 'cout' was not declared in this scope
   18 |   cout << "No" << endl;
      |   ^~~~
a.cc:18:3: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:18:19: error: 'endl' was not declared in this scope
   18 |   cout << "No" << endl;
      |                   ^~~~
a.cc:18:19: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
Language: C++

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

int main(){
string a, b;
cin >> a >> b;
string ans = a + b;
int a = stoi(ans);
REP(i, a){
  if(i * i == a) {
    cout << i << endl;
    return 0;
  }
}
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:5: error: conflicting declaration 'int a'
    8 | int a = stoi(ans);
      |     ^
a.cc:5:8: note: previous declaration as 'std::string a'
    5 | string a, b;
      |        ^
a.cc:9:5: error: 'i' was not declared in this scope
    9 | REP(i, a){
      |     ^
a.cc:9:1: error: 'REP' was not declared in this scope
    9 | REP(i, a){
      | ^~~
Language: C++


#include<bits/stdc++.h>

using namespace std;
#define int long long 

int32_t main(){

    string a,b;
    cin>>a>>b;
    a+= b;
    int x = stoi(a);
  
    int i = 1;
    while( i*i <p ){
        i++;
    }
    if(i*i == p ) cout<<"Yes"<<endl;
    else cout<<"No"<<endl;
    return 0;

}


Compiler output:
a.cc: In function 'int32_t main()':
a.cc:15:17: error: 'p' was not declared in this scope
   15 |     while( i*i <p ){
      |                 ^
a.cc:18:15: error: 'p' was not declared in this scope
   18 |     if(i*i == p ) cout<<"Yes"<<endl;
      |               ^
Language: C

#include<stdio.h>
int main(){
	int a,b;
	scanf("%d %d",&a,&b);
  	int c=b;
  	int i=0;
  while(c>0){
	c=c/10;
    i++;
  }
  int j;
  for(j=0;j<i;j++){
    a=a*10;
  }
  int ans=0;
  ans=a+b;
  for(j=1;j<ans;j++){
    if((ans%j*j==0 && ans/j*j==1){
      printf("Yes");
    }
       }
       if(j==ans){
         printf("No");
       }
       return 0;
       }

Compiler output:
main.c: In function 'main':
main.c:18:34: error: expected ')' before '{' token
   18 |     if((ans%j*j==0 && ans/j*j==1){
      |       ~                          ^
      |                                  )
main.c:21:8: error: expected expression before '}' token
   21 |        }
      |        ^
Language: C

#include<stdio.h>
int main(){
	int a,b;
	scanf("%d %d",&a,&b);
  	int c=b;
  	int i=0;
  while(c>0){
	c=c/10;
    i++;
  }
  int j;
  for(j=0;j<i;j++){
    a=a*10;
  }
  int ans=0;
  ans=a+b;
  for(j=1;j<ans;j++){
    if((ans%j*j%==0 && ans/j*j==1){
      printf("Yes");
    }
       }
       if(j==ans){
         printf("No");
       }
       return 0;
       }

Compiler output:
main.c: In function 'main':
main.c:18:18: error: expected expression before '=' token
   18 |     if((ans%j*j%==0 && ans/j*j==1){
      |                  ^
main.c:18:35: error: expected ')' before '{' token
   18 |     if((ans%j*j%==0 && ans/j*j==1){
      |       ~                           ^
      |                                   )
main.c:21:8: error: expected expression before '}' token
   21 |        }
      |        ^
Language: C

#include<stdio.h>
int main(){
	int a,b;
	scanf("%d %d",&a,&b);
  	int c=b;
  	int i=0;
  while(c>0){
	c=c/10;
    i++;
  }
  int j;
  for(j=0;j<i;j++){
    a=a*10;
  }
  int ans=0;
  ans=a+b;
  for(j=1;j<ans;j++){
    if((ans%j*j=0 && ans/j*j=1){
      printf("Yes");
    }
       }
       if(j==ans){
         printf("No");
       }
       return 0;
       }

Compiler output:
main.c: In function 'main':
main.c:18:29: error: lvalue required as left operand of assignment
   18 |     if((ans%j*j=0 && ans/j*j=1){
      |                             ^
main.c:18:32: error: expected ')' before '{' token
   18 |     if((ans%j*j=0 && ans/j*j=1){
      |       ~                        ^
      |                                )
main.c:21:8: error: expected expression before '}' token
   21 |        }
      |        ^
Language: C

#include<stdio.h>
int main(){
	int a,b;
	scanf("%d %d",&a,&b);
  	int c=b;
  	int i=0;
  while(c>0){
	c=c\10;
    i++;
  }
  int j;
  for(j=0;j<i;j++){
    a=a*10;
  }
  int ans=0;
  ans=a+b;
  for(j=1;j<ans;j++){
    if((ans%j*j%==0 && ans/j*j==1){
      printf("Yes");
    }
       }
       if(j==ans){
         printf("No");
       }
       return 0;
       }

Compiler output:
main.c: In function 'main':
main.c:8:12: error: stray '\' in program
    8 |         c=c\10;
      |            ^
main.c:8:12: error: expected ';' before numeric constant
    8 |         c=c\10;
      |            ^~~
      |            ;
main.c:18:18: error: expected expression before '=' token
   18 |     if((ans%j*j%==0 && ans/j*j==1){
      |                  ^
main.c:18:35: error: expected ')' before '{' token
   18 |     if((ans%j*j%==0 && ans/j*j==1){
      |       ~                           ^
      |                                   )
main.c:21:8: error: expected expression before '}' token
   21 |        }
      |        ^
Language: C++

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

int main()
{
    int a, b, c;
    double d;
    cin >> a >> b;
    c = stoi(to_string(a) + to_string(b));
    d = sqrt(c);

    if (d % 1 == 0)
    {
        cout << "Yes";
    }
    else
    {
        cout << "No";
    }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:13:11: error: invalid operands of types 'double' and 'int' to binary 'operator%'
   13 |     if (d % 1 == 0)
      |         ~ ^ ~
      |         |   |
      |         |   int
      |         double
Language: C++

100 100#include <bits/stdc++.h>
using namespace std;
using ll = long long;
typedef vector<int> vec1;
typedef vector<string> vec2;
typedef vector<double> vec3;

int main() {
  
  int a, b;
  cin >> a >> b;
  
  string s = to_string(b);
  for(int i = 0; i < s.size(); i++) {
    a = a * 10;
  }
  int c = a + b;
  cout << c << endl;
  for(int i = 0; i < 1000; i++) {
    if(i * i == c) {
      cout << "Yes" << endl;
      return 0;
    }
  }
  cout << "No" << endl;
}

Compiler output:
a.cc:1:8: error: stray '#' in program
    1 | 100 100#include <bits/stdc++.h>
      |        ^
a.cc:1:1: error: expected unqualified-id before numeric constant
    1 | 100 100#include <bits/stdc++.h>
      | ^~~
a.cc:4:9: error: 'vector' does not name a type
    4 | typedef vector<int> vec1;
      |         ^~~~~~
a.cc:5:9: error: 'vector' does not name a type
    5 | typedef vector<string> vec2;
      |         ^~~~~~
a.cc:6:9: error: 'vector' does not name a type
    6 | typedef vector<double> vec3;
      |         ^~~~~~
a.cc: In function 'int main()':
a.cc:11:3: error: 'cin' was not declared in this scope
   11 |   cin >> a >> b;
      |   ^~~
a.cc:13:3: error: 'string' was not declared in this scope
   13 |   string s = to_string(b);
      |   ^~~~~~
a.cc:14:22: error: 's' was not declared in this scope
   14 |   for(int i = 0; i < s.size(); i++) {
      |                      ^
a.cc:18:3: error: 'cout' was not declared in this scope
   18 |   cout << c << endl;
      |   ^~~~
a.cc:18:16: error: 'endl' was not declared in this scope
   18 |   cout << c << endl;
      |                ^~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  string a, b, c;
  cin >> a >> b;
  c = a + b;
  
  int d = atoi(c.c_str());
  
  for(int i=0; i < d; i++){
    if(d/i == i){
      cout << "Yes" << endl;
    }
    else {
      cout << "No" <<endl;
    }
}


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

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  string a, b, c;
  cin >> a >> b;
  c = a + b;
  
  int d = atoi(c.c_str());
  
  for(int i=0; i < c; i++){
    if(d/i == i){
      cout << "Yes" << endl;
    }
    else {
      cout << "No" <<endl;
    }
}

Compiler output:
a.cc:3:1: error: extended character   is not valid in an identifier
    3 |  
      | ^
a.cc:3:1: error: '\U000000a0' does not name a type
    3 |  
      | ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
    int s, t;
    cin >> s >> t;
    int x;
    x = stoi(s+t);
    for(int i=0; i<=1000; i++){
        if(i*i==x){
            cout << "Yes" << endl;
            return 0;
        }
    }
    cout << "No" << endl;
}




Compiler output:
a.cc: In function 'int main()':
a.cc:7:13: error: no matching function for call to 'stoi(int)'
    7 |     x = stoi(s+t);
      |         ~~~~^~~~~
In file included from /usr/include/c++/14/string:54,
                 from /usr/include/c++/14/bitset:52,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:52,
                 from a.cc:1:
/usr/include/c++/14/bits/basic_string.h:4164:3: note: candidate: 'int std::__cxx11::stoi(const std::string&, std::size_t*, int)'
 4164 |   stoi(const string& __str, size_t* __idx = 0, int __base = 10)
      |   ^~~~
/usr/include/c++/14/bits/basic_string.h:4164:22: note:   no known conversion for argument 1 from 'int' to 'const std::string&' {aka 'const std::__cxx11::basic_string<char>&'}
 4164 |   stoi(const string& __str, size_t* __idx = 0, int __base = 10)
      |        ~~~~~~~~~~~~~~^~~~~
/usr/include/c++/14/bits/basic_string.h:4432:3: note: candidate: 'int std::__cxx11::stoi(const std::wstring&, std::size_t*, int)'
 4432 |   stoi(const wstring& __str, size_t* __idx = 0, int __base = 10)
      |   ^~~~
/usr/include/c++/14/bits/basic_string.h:4432:23: note:   no known conversion for argument 1 from 'int' to 'const std::wstring&' {aka 'const std::__cxx11::basic_string<wchar_t>&'}
 4432 |   stoi(const wstring& __str, size_t* __idx = 0, int __base = 10)
      |        ~~~~~~~~~~~~~~~^~~~~
Language: C++

#include <stdio.h>

int main(void) 
{
	char a[10],b[10];
    char c[20];
    int i, d;
    int e=0;
    
    scanf("%s %s", &a,&b);
	sprintf(c,"%s%s\n",a,b);
  
  d = atoi(c);
  
  for (i=0 ; i<=1000 ; i++ ) 
  	{
  	if (i*i==d)  	
  	e=i;
  	}
  	
  	if (e!=0)
  	printf("Yes");
  	else printf("No");
  
	return 0;
	
	
}




Compiler output:
a.cc: In function 'int main()':
a.cc:13:7: error: 'atoi' was not declared in this scope
   13 |   d = atoi(c);
      |       ^~~~
Language: C++

#include<iostream>
#include<stdio.h>
//#include <bits/stdc++.h>
#include<vector>
#include<float.h>
#include<iomanip>
#include<algorithm>
#include<string>
#include<cstring>
#include<math.h>
#include<cmath>
#include<sstream>
#include<set>
#include<map>
#include<queue>
#include <cassert>
#include <cmath>
#include<cstdint>

#define INF 1e9
#define rep(i,n)for(int i=0;(i)<(int)(n);i++)
#define REP(i,a,b)for(int i=(int)(a);(i)<=(int)(b);i++)
#define VEC(type, c, n) std::vector<type> c(n);for(auto& i:c)std::cin>>i;
#define vec(type,n) vector<type>(n)
#define vvec(m,n) vector<vector<int>> (int(m),vector<int>(n))
#define ALL(a)  (a).begin(),(a).end()

using namespace std;
using ll = long long;
using Graph = vector<vector<int>>;
using P = pair<int,int>;

vector<int>bitSearch(int bit,int n){
    vector<int>S;
    rep(i,n)if(bit&(1<<i))S.push_back(i);
    return S;
}



int main(){
   string a,b;cin>>a>>b;
   int n = stoi(a+b);
   cout<<(n==pow(n,0.5)*pow(n,0.5)*?"Yes":"No");
}



Compiler output:
a.cc: In function 'int main()':
a.cc:44:36: error: expected primary-expression before '?' token
   44 |    cout<<(n==pow(n,0.5)*pow(n,0.5)*?"Yes":"No");
      |                                    ^
Language: C++

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

int main(){
  string s, t;
  cin >> s >> t;
  int x = stoi(s+t);
  
  for(int i = 0 ;i<1000; i++){
    if(i*i = x){
      cout << "Yes" << endl;
      return 0;
    }
  }
  cout << "No" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:9: error: lvalue required as left operand of assignment
   10 |     if(i*i = x){
      |        ~^~
Language: C++

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

int main(){
  string s, t;
  cin >> s >> t;
  int x = stoi(s+t);
  
  if(int i = 0;i<1000;i++){
    if(i*i = x){
      cout << "Yes" << endl;
      return 0;
    }
  }
  cout << "No" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:22: error: expected ')' before ';' token
    9 |   if(int i = 0;i<1000;i++){
      |     ~                ^
      |                      )
a.cc:9:23: error: 'i' was not declared in this scope
    9 |   if(int i = 0;i<1000;i++){
      |                       ^
Language: C++

#include<bits/stdc++.h>
#include<cmath>
using namespace std;
int ws(int k){
	int x=1;
	while(k){
		x*=10;
        k/=10
	}
	return x;
}
int main(){
	int a,b;
	cin>>a>>b;
	a=a*ws(b)+b;
	int i=sqrt(a);
		if(i*i==a){
			cout<<"YES";
			return 0;
		}
	cout<<"NO";
	return 0;
}

Compiler output:
a.cc: In function 'int ws(int)':
a.cc:8:14: error: expected ';' before '}' token
    8 |         k/=10
      |              ^
      |              ;
    9 |         }
      |         ~
Language: Java

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

		String a = sc.next();

		String b = sc.next();
		String c= a+b;
    double d =	Integer.parseInt(c);
		double e = Math.floor(Math.sqrt(d));
		if (d-(e*e)==0){
			System.out.println("Yes");
		}else{
			System.out.println("No");
		}
	}
}


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

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

		String a = sc.next();

		String b = sc.next();
		String c= a+b;
    double d =	Integer.parseInt(c);
		double e = Math.floor(Math.sqrt(d));
		if (d-(e*e)==0){
			System.out.println("Yes");
		}else{
			System.out.println("No");
		}
	}
}


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

#include<bits/stdc++.h>
using namespace std;#include<bits/stdc++.h>
using namespace std;
int main()
{
    int a,b;
    cin>>a>>b;
    int c=b,s=0;
    for(;;)
    {
        c=c/10;
        if(c/10<10)
        {
        	s++;
            break;
        }
        else
        {
        	s+=1;
		}
    }
    for(int i=0;i<s;i++)
    {
        a*=10;
    }
    c=a+b;
    c=sqrt(c);
	if(c*c==(a+b))
	{
		cout<<"Yes";
	}
	else
	{
		cout<<"No";
	}
}
int main()
{
    int a,b;
    cin>>a>>b;
    int c=b,s=0;
    for(;;)
    {
        c=c/10;
        s+=1;
        if(c<10)
        {
        	s++;
            break;
        }
    }
    if(b==0)
	{
		s--;
	}
    for(int i=0;i<s;i++)
    {
        a*=10;
    }
    int d=a+b;
    d=sqrt(d);
	if(d*d==(a+b))
	{
		cout<<"Yes";
	}
	else
	{
		cout<<"No";
	}
}

Compiler output:
a.cc:2:21: error: stray '#' in program
    2 | using namespace std;#include<bits/stdc++.h>
      |                     ^
a.cc:2:22: error: 'include' does not name a type
    2 | using namespace std;#include<bits/stdc++.h>
      |                      ^~~~~~~
a.cc:37:5: error: redefinition of 'int main()'
   37 | int main()
      |     ^~~~
a.cc:4:5: note: 'int main()' previously defined here
    4 | int main()
      |     ^~~~
Language: C++

#include<iostream>
using namespace std;
int main()
{
    int a,b;
    cin>>a>>b;
    int c=b,s=0;
    for(;;)
    {
        c=c/10;
        s+=1;
        if(c<10)
        {
            break;
        }
    }
    for(int i=0;i<s;i++)
    {
        a*=10;
    }
    double d=double(a+b);
    d=sqrt(d);
    for(;;)
    {
        d-=1;
        if(1>d>0)
        {
            cout<<"Yes";
            return 0;
        }
        if(d==1.0)
        {
            cout<<"No";
            return 0;
        }
    }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:22:7: error: 'sqrt' was not declared in this scope
   22 |     d=sqrt(d);
      |       ^~~~
Language: Java

import java.util.*;
 
public class Main{
	public static void main(String[] args){
    
    Scanner scanner = new Scanner(System.in);
    
    int a = scanner.nextInt();
    int b = scanner.nextInt();
    
    String result = a + b;
    int resultInt = parseInt(result);
    int ruseltSqrt = Math.sqrt(result) ;
      
    if(ruseltSqrt >= 1 && ruseltSqrt <= 10000){System.out.println("Yes");}
    else{System.out.println("No");}
    
    }
}

Compiler output:
Main.java:11: error: incompatible types: int cannot be converted to String
    String result = a + b;
                      ^
Main.java:12: error: cannot find symbol
    int resultInt = parseInt(result);
                    ^
  symbol:   method parseInt(String)
  location: class Main
Main.java:13: error: incompatible types: String cannot be converted to double
    int ruseltSqrt = Math.sqrt(result) ;
                               ^
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
3 errors
Language: Java

import java.util.*;

public class Main{
	public static void main(String[] args){
    
    Scanner scanner = new Scanner(System.in);
    
    int a = scanner.nextInt();
    int b = scanner.nextInt();
    
    String result = a + b;
    int resultInt = parseInt(result);
    int ruseltSqrt = Math.sqrt(result) 
      
    if(ruseltSqrt >= 1 && ruseltSqrt <= 10000){System.out.println("Yes");}
    else{System.out.println("No");}
    
    }
}

Compiler output:
Main.java:13: error: ';' expected
    int ruseltSqrt = Math.sqrt(result) 
                                      ^
1 error
Language: C++

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

int main(){
  int a,b,c;
  cin >> a >> b;
  if(b<10){
    c = a*10+b;
  }
  else if(b<100){
    c = a*100+b;
  }
  else{
    c = a*1000+b;
  }
  int i=0;
  while(true){
    if(i*i==c){
      cout << "Yes" << endl;
      break;
    }
    else if(i*i<c){
      i++;
    }
    else{
      cout << "No" << endl;
      break;
    }
}


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

#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(i, n) for(ll i = 0; i < (ll)(n); i++)
#define rep2(i, a, n) for(ll i = a; i < (ll)(n); i++)
#define memi cout << endl
#define kono(n) cout << fixed << setprecision(n)
#define all(c) (c).begin(), (c).end()
#define pb push_back
#define hina cout << ' '
#define in(n) cin >> n
#define in2(n, m) cin >> n >> m
#define in3(n, m, l) cin >> n >> m >> l
#define out(n) cout << n
const ll mei = (ll)1e9 + 7;

int main(){
  string a, b;
  ll t;
  t = 0;
  in2(a, b);
  ll s = atoi(a + b);
  vector<ll> d(1000);
  rep(i, 1000)
    d[i] = i * i;
  rep(i, 1000){
    if(d[i] == s)
      t++;
  }
  if(t)
    out("Yes");
  else
    out("No");
  memi;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:22:17: error: cannot convert 'std::__cxx11::basic_string<char>' to 'const char*'
   22 |   ll s = atoi(a + b);
      |               ~~^~~
      |                 |
      |                 std::__cxx11::basic_string<char>
In file included from /usr/include/c++/14/cstdlib:79,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:42,
                 from a.cc:1:
/usr/include/stdlib.h:105:30: note:   initializing argument 1 of 'int atoi(const char*)'
  105 | extern int atoi (const char *__nptr)
      |                  ~~~~~~~~~~~~^~~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(i, n) for(ll i = 0; i < (ll)(n); i++)
#define rep2(i, a, n) for(ll i = a; i < (ll)(n); i++)
#define memi cout << endl
#define kono(n) cout << fixed << setprecision(n)
#define all(c) (c).begin(), (c).end()
#define pb push_back
#define hina cout << ' '
#define in(n) cin >> n
#define in2(n, m) cin >> n >> m
#define in3(n, m, l) cin >> n >> m >> l
#define out(n) cout << n
const ll mei = (ll)1e9 + 7;

int main(){
  string a, b, s;
  ll t;
  t = 0;
  in2(a, b);
  s = a + b;
  vector<int> d(1000);
  rep(i, 1000)
    d[i] = i * i;
  rep(i, 1000){
    if(d[i] == (int)s)
      t++;
  }
  if(t)
    out("Yes");
  else
    out("No");
  memi;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:27:16: error: invalid cast from type 'std::string' {aka 'std::__cxx11::basic_string<char>'} to type 'int'
   27 |     if(d[i] == (int)s)
      |                ^~~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(i, n) for(ll i = 0; i < (ll)(n); i++)
#define rep2(i, a, n) for(ll i = a; i < (ll)(n); i++)
#define memi cout << endl
#define kono(n) cout << fixed << setprecision(n)
#define all(c) (c).begin(), (c).end()
#define pb push_back
#define hina cout << ' '
#define in(n) cin >> n
#define in2(n, m) cin >> n >> m
#define in3(n, m, l) cin >> n >> m >> l
#define out(n) cout << n
const ll mei = (ll)1e9 + 7;

int main(){
  string a, b, s;
  ll t;
  t = 0;
  in2(a, b);
  s = a + b;
  vector<ll> d(1000);
  rep(i, 1000)
    d[i] = i * i;
  rep(i, 1000){
    if(d[i] == <ll>s)
      t++;
  }
  if(t)
    out("Yes");
  else
    out("No");
  memi;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:27:16: error: expected primary-expression before '<' token
   27 |     if(d[i] == <ll>s)
      |                ^
a.cc:27:19: error: expected primary-expression before '>' token
   27 |     if(d[i] == <ll>s)
      |                   ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(i, n) for(ll i = 0; i < (ll)(n); i++)
#define rep2(i, a, n) for(ll i = a; i < (ll)(n); i++)
#define memi cout << endl
#define kono(n) cout << fixed << setprecision(n)
#define all(c) (c).begin(), (c).end()
#define pb push_back
#define hina cout << ' '
#define in(n) cin >> n
#define in2(n, m) cin >> n >> m
#define in3(n, m, l) cin >> n >> m >> l
#define out(n) cout << n
const ll mei = (ll)1e9 + 7;

int main(){
  string a, b, s;
  ll t;
  t = 0;
  in(a, b);
  s = a + b;
  vector<ll> d(1000);
  rep(i, 1000)
    d[i] = i * i;
  rep(i, 1000){
    if(d[i] == (ll)s)
      t++;
  }
  if(t)
    out("Yes");
  else
    out("No");
  memi;
}

Compiler output:
a.cc:21:10: error: macro "in" passed 2 arguments, but takes just 1
   21 |   in(a, b);
      |          ^
a.cc:11:9: note: macro "in" defined here
   11 | #define in(n) cin >> n
      |         ^~
a.cc: In function 'int main()':
a.cc:21:3: error: 'in' was not declared in this scope
   21 |   in(a, b);
      |   ^~
a.cc:27:16: error: invalid cast from type 'std::string' {aka 'std::__cxx11::basic_string<char>'} to type 'll' {aka 'long long int'}
   27 |     if(d[i] == (ll)s)
      |                ^~~~~
Language: C++

#include<iostream>
#include<vector>
#include <cmath>
#include <map>
#include <algorithm>
using namespace std;
int main(void){
    int a,b;
    cin >> a >> b ;
    int ans ;
    if(0 < b < 10 ){
        ans = a * 10 + b ;
    }else if(b < 100){
        ans = a * 100 + b ;
    }else{
        ans = a * 1000 + b ;
    }
    
    bool flag = false ;
    for(int i = 0; i < 101 ; i++ ){
        
        if(i*i == ans){
            flag = true ;
        }
    }   

    if(flag = true)
        cout << "Yes" << endl;
    }else{
        cout <<"No" << endl;
    }
    return 0;
}

Compiler output:
a.cc:29:6: error: expected unqualified-id before 'else'
   29 |     }else{
      |      ^~~~
a.cc:32:5: error: expected unqualified-id before 'return'
   32 |     return 0;
      |     ^~~~~~
a.cc:33:1: error: expected declaration before '}' token
   33 | }
      | ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
using ll = logn long;

int main(){
    int a,b;
    cin>>a>>b;
    bool is = false;
    for(int i=0;i*i<=10*a+b;i++){
        if(i*i == 10*a+b) is = true;
    }
    if(is) cout<<"Yes"<<endl;
    else cout<<"No"<<endl;
}

Compiler output:
a.cc:3:12: error: 'logn' does not name a type; did you mean 'long'?
    3 | using ll = logn long;
      |            ^~~~
      |            long
Language: C++

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


int chk_dig(int n) {
    int res = 0;
    while(n > 0) {
        res++;
        n /= 10;
    }
    return res;
}

int main(){
	int a,b; cin >> a >> b;
	int tmp=b;
	a*=pow(10,chk_dig(b););

	for(int i=1;i<=1000;++i){
		if( i * i == a + b ) { cout << "Yes" << endl; return 0;}
	}
	cout << "No" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:17:29: error: expected ')' before ';' token
   17 |         a*=pow(10,chk_dig(b););
      |               ~             ^
      |                             )
a.cc:17:30: error: expected primary-expression before ')' token
   17 |         a*=pow(10,chk_dig(b););
      |                              ^
Language: C++

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


int chk_dig(int n) {
    int res = 0;
    while(n > 0) {
        res ++;
        n /= 10;
    }
    return res;
}

int main(){
	int a,b; cin >> a >> b;
	int tmp=b;
	a*=pow(10,chk_dig(b););

	for(int i=1;i<=1000;++i){
		if( i * i == a + b ) { cout << "Yes" << endl; return 0;}
	}
	cout << "No" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:17:29: error: expected ')' before ';' token
   17 |         a*=pow(10,chk_dig(b););
      |               ~             ^
      |                             )
a.cc:17:30: error: expected primary-expression before ')' token
   17 |         a*=pow(10,chk_dig(b););
      |                              ^
Language: C++

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

int main(){
	int a,b; cin >> a >> b;
	int tmp=b; int b_digit=0;
	while(tmp!=0){
		++b_digit;
		if(tmp%10!=0) {
			tmp/=10; continue;
		} else break;
	}
	a*=pow(10,b_digit);

	for(int i=1;i<=1000;++i{
		if( i * i == a + b ) cout << "Yes" << endl;
		else cout << "No" << endl;
	}
}

Compiler output:
a.cc: In function 'int main()':
a.cc:15:32: error: expected ')' before '{' token
   15 |         for(int i=1;i<=1000;++i{
      |            ~                   ^
      |                                )
Language: C++

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

int main(){
	unsigned long long int a,b; cin >> a >> b;
	unsigned long long int tmp=b; int b_digit=0;
	while(tmp!=0){
		++b_digit;
		if(tmp%10!=0) {
			tmp/=10; continue;
		} else break;
	}
	a*=pow(10,b_digit);
	for(int i=1;i<1=1000;++i){
	if(i * i == a + b ) cout << "Yes" << endl;
	else cout << "No" << endl;
	}
}

Compiler output:
a.cc: In function 'int main()':
a.cc:14:22: error: lvalue required as left operand of assignment
   14 |         for(int i=1;i<1=1000;++i){
      |                     ~^~
Language: C++

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

int main(){
	unsigned long long int a,b; cin >> a >> b;
	unsigned long long int tmp=b; int b_digit=0;
	while(tmp!=0){
		++b_digit;
		if(tmp%10!=0) {
			tmp/=10; continue;
		} else break;
	}
	a*=pow(10,b_digit);
	for(int i=1;i<1=1000;++i{
	if(i * i == a + b ) cout << "Yes" << endl;
	else cout << "No" << endl;
	}
}

Compiler output:
a.cc: In function 'int main()':
a.cc:14:22: error: lvalue required as left operand of assignment
   14 |         for(int i=1;i<1=1000;++i{
      |                     ~^~
a.cc:14:33: error: expected ')' before '{' token
   14 |         for(int i=1;i<1=1000;++i{
      |            ~                    ^
      |                                 )
Language: C++

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

int main(){
	unsigned long long int a,b; cin >> a >> b;
	insigned long long int tmp=b; int b_digit=0;
	while(tmp!=0){
		++b_digit;
		if(tmp%10!=0) {
			tmp/=10; continue;
		} else break;
	}
	a*=pow(10,b_digit);
	if(fmod(sqrt(a+b),1.0)==0.0) cout << "Yes" << endl;
	else cout << "No" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:9: error: 'insigned' was not declared in this scope; did you mean 'unsigned'?
    6 |         insigned long long int tmp=b; int b_digit=0;
      |         ^~~~~~~~
      |         unsigned
a.cc:7:15: error: 'tmp' was not declared in this scope; did you mean 'tm'?
    7 |         while(tmp!=0){
      |               ^~~
      |               tm
Language: C++

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

int main(){
	int a,b; cin >> a >> b;
	int tmp=b; int b_digit=0;
	while(tmp!=0){
		++b_digit;
		if(tmp%10!=0) {
			tmp/=10; continue;
		} else break;
	}
	a*=pow(10,b_digit);
	if(sqrt(a+b)%1==0) cout << "Yes" << endl;
	else cout << "No" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:14:21: error: invalid operands of types '__gnu_cxx::__enable_if<true, double>::__type' {aka 'double'} and 'int' to binary 'operator%'
   14 |         if(sqrt(a+b)%1==0) cout << "Yes" << endl;
      |            ~~~~~~~~~^~
      |                |     |
      |                |     int
      |                __gnu_cxx::__enable_if<true, double>::__type {aka double}
Language: C++

a, b = raw_input().split()
x = int(a + b)
y = int(b + a)
ans = "No"
n = 1
while n * n <= x:
    if x == n * n:
        ans = "Yes"
    n += 1
n = 1
while n * n <= y:
    if x == n * n:
        ans = "Yes"
    n += 1
print ans

Compiler output:
a.cc:1:1: error: 'a' does not name a type
    1 | a, b = raw_input().split()
      | ^
Language: C

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main(void){
int a,b;
int sum;
scanf("%d %d",&a,&b);
if(b<=9){sum=a*10+b;}
else if(b<=99){sum=s*100+b;}
else{sum=a*1000+b;}
for(int count=0;count<=sum;count++){
    if(count*count==sum){printf("Yes");return 0;}
}

printf("No");
    }


Compiler output:
main.c: In function 'main':
main.c:9:20: error: 's' undeclared (first use in this function)
    9 | else if(b<=99){sum=s*100+b;}
      |                    ^
main.c:9:20: note: each undeclared identifier is reported only once for each function it appears in
Language: C++

# include <iostream>
#include <string>
#include <math.h>
using namespace std;

int main(){
  int a,b,c;
  cin >> a >>b;
  
  c = stoi(to_string(a)+to_string(b));
  d = sqrt(c);
  if(d*d == c)
    cout << "Yes";
  else
    cout <<"No";
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:3: error: 'd' was not declared in this scope
   11 |   d = sqrt(c);
      |   ^
Language: C++

#include <iostream>
#include <string>
using namespace std;
int main()
{
  string a, b;
  cin >> a >> b;
  string num = a + b;
  int val = stoi(num);
  
  bool ans = false;
  for (int i = 1; i <= 317; i++) {
    if (i*i==cal) ans = true;
  }
  if (ans) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:13:14: error: 'cal' was not declared in this scope; did you mean 'val'?
   13 |     if (i*i==cal) ans = true;
      |              ^~~
      |              val
Language: C

#include <stdio.h>
#include <math.h>

int main(void){
    int a, b;
    scanf("%d%d", &a, &b);

    int number;
    if (b < 10){
        number = a * 10 + b;
    }
    if (10 <= b && b < 100){
        number = a * 100 + b;
    }
    if (b == 100){
        number = a * 1000 + b;
    }

    
    char ans[5] = "No";
    if (pow(number, 0.5) == int(number, 0.5)){
        ans = "Yes"
    }

    printf("%s\n", ans);
    
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:21:29: error: expected expression before 'int'
   21 |     if (pow(number, 0.5) == int(number, 0.5)){
      |                             ^~~
main.c:22:13: error: assignment to expression with array type
   22 |         ans = "Yes"
      |             ^
main.c:22:20: error: expected ';' before '}' token
   22 |         ans = "Yes"
      |                    ^
      |                    ;
   23 |     }
      |     ~
Language: C

#include<stdio.h>
#include<math.h>

int main () {
    int a,b;
    scanf("%d %d", &a, &b);
    char c[] = (char)a;
    c[] = (char)b;
    a = (int)sqrt((int)c);
    if (a*a == c){
        printf("Yes");
    } else {
        printf("No");
    }
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:16: error: invalid initializer
    7 |     char c[] = (char)a;
      |                ^
main.c:8:7: error: expected expression before ']' token
    8 |     c[] = (char)b;
      |       ^
main.c:9:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
    9 |     a = (int)sqrt((int)c);
      |                   ^
main.c:10:13: warning: comparison between pointer and integer
   10 |     if (a*a == c){
      |             ^~
Language: C

#include<stdio.h>
#include<math.h>

int main () {
    int a,b;
    scanf("%d %d", &a, &b);
    char c[] = (char)a;
    char c[] = (char)b;
    a = (int)sqrt(c);
    if (a*a == c){
        printf("Yes");
    } else {
        printf("No");
    }
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:16: error: invalid initializer
    7 |     char c[] = (char)a;
      |                ^
main.c:8:10: error: redefinition of 'c'
    8 |     char c[] = (char)b;
      |          ^
main.c:7:10: note: previous definition of 'c' with type 'char[1]'
    7 |     char c[] = (char)a;
      |          ^
main.c:8:16: error: invalid initializer
    8 |     char c[] = (char)b;
      |                ^
main.c:9:19: error: incompatible type for argument 1 of 'sqrt'
    9 |     a = (int)sqrt(c);
      |                   ^
      |                   |
      |                   char *
In file included from /usr/include/math.h:275,
                 from main.c:2:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:176:1: note: expected 'double' but argument is of type 'char *'
  176 | __MATHCALL (sqrt,, (_Mdouble_ __x));
      | ^
main.c:10:13: warning: comparison between pointer and integer
   10 |     if (a*a == c){
      |             ^~
Language: C++

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

int main() {

	int a,b;
	cin>>a>>b;
	if(b<10){a=a*10+b;}
  else if(b<100){a=a*100+b;}
  else{a=a*1000+b;}
  if(fmod(sqrt(a),1)==0){cout<<"Yes"<<endl;}
	else{cout<"No"<<endl;}
}


Compiler output:
a.cc: In function 'int main()':
a.cc:12:23: error: invalid operands of types 'const char [3]' and '<unresolved overloaded function type>' to binary 'operator<<'
   12 |         else{cout<"No"<<endl;}
      |                   ~~~~^~~~~~
Language: C++

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

int main() {

	int a,b;
	cin>>a>>b;
	if(b<10){a=a*10+b;}
  else if(b<100){a=a*100+b;}
  else{a=a*1000+b;}
  if(fmod(sqrt(a),1)%1==0){cout<<"Yes"<<endl;}
	else{cout<"No"<<endl;}
}


Compiler output:
a.cc: In function 'int main()':
a.cc:11:21: error: invalid operands of types '__gnu_cxx::__promote<double>::__type' {aka 'double'} and 'int' to binary 'operator%'
   11 |   if(fmod(sqrt(a),1)%1==0){cout<<"Yes"<<endl;}
      |      ~~~~~~~~~~~~~~~^~
      |          |           |
      |          |           int
      |          __gnu_cxx::__promote<double>::__type {aka double}
a.cc:12:23: error: invalid operands of types 'const char [3]' and '<unresolved overloaded function type>' to binary 'operator<<'
   12 |         else{cout<"No"<<endl;}
      |                   ~~~~^~~~~~
Language: C++

#include <iostream>
#include <set>
#include <string>
#include <vector>
#include <algorithm>

typedef long long int lli;
#define rep(i,s,N) for(int i=s;i<N;i++)
using namespace std;

int main(void)
{
	string a, b; cin >> a >> b;
	int N = stoi(a + b);
	double x = sqrt(N);
	int y = x;
	if ((double)x == y)cout << "Yes" << endl;
	else cout << "No" << endl;

	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:15:20: error: 'sqrt' was not declared in this scope
   15 |         double x = sqrt(N);
      |                    ^~~~
Language: C++

#include <iostream>
using namespace std;
 
int main()
{
	int a, b;
  cin >> a >> b;
  int num = std::to_string(b).length();
  int mul = a * pow(10, num) + b;
  for(int i=0; i < mul; i++)
  {
    int n = i*i;
    if(n == mul)
    {
      cout << "Yes";
      return 0;
    }
    if(n > mul)
    {
      cout << "No";
      return 0;
    }
  }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:17: error: 'pow' was not declared in this scope
    9 |   int mul = a * pow(10, num) + b;
      |                 ^~~
Language: C++

import math
a, b = map(int, input().split())

def solve():
  tmp = int(str(a) + str(b))

  for i in range(0, int(math.sqrt(tmp) + 1)):
    if tmp  == i * i:
      print('Yes')
      return
    
  print('No')

def main():
  solve()

if __name__ == "__main__":
  main()

Compiler output:
a.cc:9:13: warning: multi-character character constant [-Wmultichar]
    9 |       print('Yes')
      |             ^~~~~
a.cc:12:9: warning: multi-character character constant [-Wmultichar]
   12 |   print('No')
      |         ^~~~
a.cc:1:1: error: 'import' does not name a type
    1 | import math
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
Language: C++

int main() {
	cin.tie(0);
	ios::sync_with_stdio(false);

	int a, b;
	cin >> a >> b;
	int digit = 0;
    int c = b;
	bool judge = false;
	int ab;
	while(c > 0) {
		c = c / 10;
		digit++;
	}
	ab = a * pow(10, digit) + b;
	for(int i = 0; i < 1000; i++) {
		if(i * i == ab) {
			judge = true;
		}
	}
	if(judge) {
		cout << "Yes" << endl;
	}else {
		cout << "No" << endl;
	}
}

Compiler output:
a.cc: In function 'int main()':
a.cc:2:9: error: 'cin' was not declared in this scope
    2 |         cin.tie(0);
      |         ^~~
a.cc:3:9: error: 'ios' has not been declared
    3 |         ios::sync_with_stdio(false);
      |         ^~~
a.cc:15:18: error: 'pow' was not declared in this scope
   15 |         ab = a * pow(10, digit) + b;
      |                  ^~~
a.cc:22:17: error: 'cout' was not declared in this scope
   22 |                 cout << "Yes" << endl;
      |                 ^~~~
a.cc:22:34: error: 'endl' was not declared in this scope
   22 |                 cout << "Yes" << endl;
      |                                  ^~~~
a.cc:24:17: error: 'cout' was not declared in this scope
   24 |                 cout << "No" << endl;
      |                 ^~~~
a.cc:24:33: error: 'endl' was not declared in this scope
   24 |                 cout << "No" << endl;
      |                                 ^~~~
Language: C

#include <stdio.h>

int is_square(int j) {
  for (int i = 1; i * i <= j; ++i) {
    if (i * i == j) {
      return 1;
    } else {
      continue;
    }
  }
  
  return 0;
}

int main(void) {
  int a, b, c;
  scanf("%d %d", &a, &b);

  if (b < 10) {
    c = a * 10 + b;
  } else if (b < 100) {
    c = a * 100 + b;
  } else {
    c = a * 1000 + b;
  }

  if (is_square(c)) {
    printf("Yes");
  } else {
    printf("No");
  }
  
  return 0;
}

  printf("%d", c);



Compiler output:
main.c:36:10: error: expected declaration specifiers or '...' before string constant
   36 |   printf("%d", c);
      |          ^~~~
main.c:36:16: error: unknown type name 'c'
   36 |   printf("%d", c);
      |                ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define ld long double
#define rep(i,h) for(int i = 0; i < h; ++i)
#define rep1(i,h) for(int i = 0; i <= h; ++i)
#define rep2(i,k,h) for(int i = k; i < h; ++i)
#define rep3(l,k,h) for(int l = k; l <= h; ++l)
#define INF LLong_MAX // long long INF
#define inf INT_MAX // int inf

typedef pair<int,int> int_pair;
typedef pair<string,string> string_pair;
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define ld long double
#define rep(i,h) for(int i = 0; i < h; ++i)
#define rep1(i,h) for(int i = 0; i <= h; ++i)
#define rep2(i,k,h) for(int i = k; i < h; ++i)
#define rep3(l,k,h) for(int l = k; l <= h; ++l)
#define INF LLong_MAX // long long INF
#define inf INT_MAX // int inf

typedef pair<int,int> int_pair;
typedef pair<string,string> string_pair;


int main() {
    string a,b;
    cin >> a >> b;
    a += b;
    int num = stoi(a);
    rep3(i,1,num) {
        if(num == i*i) {
            cout << "Yes" << endl;
            return 0;
        }
    }
    cout << "No" << endl;
}

int main() {
    string a,b;
    cin >> a >> b;
    a += b;
    int num = stoi(a);
    rep3(i,1,num) {
        if(num == i*i) {
            cout << "Yes" << endl;
            return 0;
        }
    }
    cout << "No" << endl;
}

Compiler output:
a.cc:43:5: error: redefinition of 'int main()'
   43 | int main() {
      |     ^~~~
a.cc:29:5: note: 'int main()' previously defined here
   29 | int main() {
      |     ^~~~
Language: C

#include<stdio.h>
#include<math.h>

int main(){
 	int a,b,b2,cnt,flag,i;
  
  	scanf("%d",a);
	scanf("%d",b);
  	
  	b2=b;
  	cnt=0;
  
	while(b2!=0){
        	cnt+=1;
    		b2=b2/10;
    }
  	
  	a=a*pow(10,cnt);
    x=a+b;
  	flag=0;
  	for(i=2;i<=sqrt(100100);i++){
    	if(x==(i*i)){
          flag=1;
        }
    }
  
  	if(flag==1){
    	printf("Yes\n");
    }else{
      printf("No\n");
    }

}


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

#include<stdio.h>
#include<math.h>

int main(){
 	int a,b,b2,cnt,flag;
  
  	scanf("%d",a);
	scanf("%d",b);
  	
  	b2=b;
  	cnt=0;
  
	while(b2!=0){
        	cnt+=1;
    		b2=b2/10;
    }
  	
  	a=a*pow(10,cnt);
    x=a+b;
  	flag=0;
  	for(i=2;i<=sqrt(100100);i++){
    	if(x==(i*i)){
          flag=1;
        }
    }
  
  	if(flag==1){
    	printf("Yes\n");
    }else{
      printf("No\n");
    }

}

Compiler output:
main.c: In function 'main':
main.c:19:5: error: 'x' undeclared (first use in this function)
   19 |     x=a+b;
      |     ^
main.c:19:5: note: each undeclared identifier is reported only once for each function it appears in
main.c:21:13: error: 'i' undeclared (first use in this function)
   21 |         for(i=2;i<=sqrt(100100);i++){
      |             ^
Language: C++

#include <iostream>

int main()
{
	std::ios::sync_with_stdio(false);
	std::cin.tie(0);

	int x = 0, y = 0;
	std::string str;
	std::cin >> x >> y;

	int tmp = y;
	do  {
		x *= 10;
	} while (tmp = tmp / 10);
	int z = x + y;
	int s = static_cast<int>(sqrt(z));
	if (z == s * s) {
		std::cout << "Yes";
	}
	else {
		std::cout << "No";
	}

	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:17:34: error: 'sqrt' was not declared in this scope
   17 |         int s = static_cast<int>(sqrt(z));
      |                                  ^~~~
Language: C++

#include<stdio.h>
#include<math.h>

int main()
{
    int a,b,x,y;
    scanf("%d %d",&a,&b);
    if(sizeof(b)==2)
        x=a*100+b;
    if(sizeof(b)==1)
          x=a*10+b;
    if(sizeof(b)==3)
          x=a*1000+b;
    y=sqrt(x);
    if(y*y==x)
      printf("Yes\n");
    else
        printf("No\n");l
return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:18:24: error: 'l' was not declared in this scope
   18 |         printf("No\n");l
      |                        ^
Language: C++

#include<stdio.h>
#include<math.h>

int main()
{
    int a,b,x,y;
    scanf("%d %d",&a,&b);
    x=a*100+b;
    y=sqrt(x);
    if(y*y==x)
      printf("Yes\n");
    else
        printf("No\n");l
return 0;
}
    


Compiler output:
a.cc: In function 'int main()':
a.cc:13:24: error: 'l' was not declared in this scope
   13 |         printf("No\n");l
      |                        ^
Language: C++

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

int main(){
  int a,b,c;
  int x=10;
  cin>>a>>b;
  while(b/x!=0){
    x*10;}
  c=a*x+b;
  int y=1:
  while(y**2>=c){
    y+=1;
  }
  if(y**=c){
    cout<<"Yes"<<endl;
  }else{
    cout<<"No"<<endl;
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:11:10: error: expected ',' or ';' before ':' token
   11 |   int y=1:
      |          ^
a.cc:15:8: error: expected primary-expression before '*=' token
   15 |   if(y**=c){
      |        ^~
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main(){
string a,b;
bool flag=false;
cin >> a >> b;
string num = a+b;
  for(int i=0;i<101;i++){
  int p=i*i;
  if(string.p()==num)flag=true;}
if(flag)cout << "Yes" <<endl;
  else cout << "No" <<endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:12: error: expected unqualified-id before '.' token
   10 |   if(string.p()==num)flag=true;}
      |            ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main(){
string a,b;
bool flag=false;
cin >> a >> b;
string num = a+b;
  for(int i=0;i<101;i++){
  int p=i*i;
  if(p==int(num))flag=true;}
if(flag)cout << "Yes" <<endl;
  else cout << "No" <<endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:9: error: invalid cast from type 'std::string' {aka 'std::__cxx11::basic_string<char>'} to type 'int'
   10 |   if(p==int(num))flag=true;}
      |         ^~~~~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main(){
string a,b;
bool flag=false;
cin >> a >> b;
string num = a+b;
  for(int i=0;i<101;i++){
  int p=i*i;
  if(p==int(num))flag=true}
if(flag)cout << "Yes" <<endl;
  else cout << "No" <<endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:9: error: invalid cast from type 'std::string' {aka 'std::__cxx11::basic_string<char>'} to type 'int'
   10 |   if(p==int(num))flag=true}
      |         ^~~~~~~~
a.cc:10:27: error: expected ';' before '}' token
   10 |   if(p==int(num))flag=true}
      |                           ^
      |                           ;
Language: C++

#include<stdio.h>
int main(void)
{
	int i,a1,a,s,b1,b,t[1000],cnt;
	scanf("%d %d",&a,&b);
	for(i=1;i<=100;i++){
		t[i]=i*i;
	}
	while(b1<0){
		if(b1<0){
			b1=b/10;
			cnt++;
			break;
		}
	}
	a1=a*(10*cnt);
	s=a1+b;
	for(i=1;i<=100;i++){
		if(t[i]==s){
			flg=1;
		}
	}
	if(flg==1){
		printf("Yes\n");
	}
	else{
		printf("No\n");
	}
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:20:25: error: 'flg' was not declared in this scope
   20 |                         flg=1;
      |                         ^~~
a.cc:23:12: error: 'flg' was not declared in this scope
   23 |         if(flg==1){
      |            ^~~
Language: C++

#include<iostream>
using namespace std;
int main (){
  string s,t;
  cin >> s >>t;
  int x = stoi(s+t);
  for(int i=0; i<1000, i++){
    if(i*i==x){
      puts("Yes");
      return 0;
    }
  }
  puts("No");
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:27: error: expected ';' before ')' token
    7 |   for(int i=0; i<1000, i++){
      |                           ^
      |                           ;
Language: C++

#include<iostream>
using namespace std;
int main (){
string s ,t;
cin >>s > >t;
int x = stoi (s+ t );
for ( int i =1; i <=1000; i ++){
if ( i*i == x ){
puts (" Yes ");
return 0;
}
}
puts (" No ");
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:11: error: expected primary-expression before '>' token
    5 | cin >>s > >t;
      |           ^
Language: C++

#include <iostream>
using namespace std;


int main(void) {

	float a,b,c,k;
	cin >> a >>b;

	int cnt=0;
	c = a;

	do {
		c /= 10;
		cnt++;
		//cout << c << endl;

	} while ((int)c > 0);

	int i;

	k = a;

	for (i = 0; i < cnt; i++) {
		k *= 10;
	}

	c = k + b;

	//cout << c << endl;


	float d;
	int e;

	d = sqrt(c);
	e = (int)sqrt(c);

	//cout << d << endl << e << endl;

	 
	if (e*e == c) {
		cout << "Yes" << endl;

	}
	else {
		cout << "No" << endl;

	}


	system("pause");

	return 0;


}

Compiler output:
a.cc: In function 'int main()':
a.cc:36:13: error: 'sqrt' was not declared in this scope
   36 |         d = sqrt(c);
      |             ^~~~