Language: C++

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

int main(){
    int a,b;
    cin >> a >>b;
    list<int>ssu[] ={2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317};
    set<int>mst_s;
    for(int i=0;i<ssu.size();i++){
        int tem_s=ssu[i];
        if(a/tem_s>0){
            mst_s.insert(tem_s);
            while(a/tem_s>0){
                a/=tem_s;
            }
        }
    }
    for(int i=0;i<ssu.size();i++){
        int tem_s=ssu[i];
        if(b/tem_s>0){
            mst_s.insert(tem_s);
            while(b / tem_s > 0){
                b/=tem_s;
            }
        }
    }
    int ans=0;
    for(auto x;mst_s){
        ans*=x;
    }
    cout >> ans >>end;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:22: error: conversion from 'int' to non-scalar type 'std::__cxx11::list<int>' requested
    7 |     list<int>ssu[] ={2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317};
      |                      ^
a.cc:7:24: error: conversion from 'int' to non-scalar type 'std::__cxx11::list<int>' requested
    7 |     list<int>ssu[] ={2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317};
      |                        ^
a.cc:7:26: error: conversion from 'int' to non-scalar type 'std::__cxx11::list<int>' requested
    7 |     list<int>ssu[] ={2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317};
      |                          ^
a.cc:7:28: error: conversion from 'int' to non-scalar type 'std::__cxx11::list<int>' requested
    7 |     list<int>ssu[] ={2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317};
      |                            ^
a.cc:7:30: error: conversion from 'int' to non-scalar type 'std::__cxx11::list<int>' requested
    7 |     list<int>ssu[] ={2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317};
      |                              ^~
a.cc:7:33: error: conversion from 'int' to non-scalar type 'std::__cxx11::list<int>' requested
    7 |     list<int>ssu[] ={2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317};
      |                                 ^~
a.cc:7:36: error: conversion from 'int' to non-scalar type 'std::__cxx11::list<int>' requested
    7 |     list<int>ssu[] ={2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317};
      |                                    ^~
a.cc:7:39: error: conversion from 'int' to non-scalar type 'std::__cxx11::list<int>' requested
    7 |     list<int>ssu[] ={2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317};
      |                                       ^~
a.cc:7:42: error: conversion from 'int' to non-scalar type 'std::__cxx11::list<int>' requested
    7 |     list<int>ssu[] ={2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317};
      |                                          ^~
a.cc:7:45: error: conversion from 'int' to non-scalar type 'std::__cxx11::list<int>' requested
    7 |     list<int>ssu[] ={2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317};
      |                                             ^~
a.cc:7:48: error: conversion from 'int' to non-scalar type 'std::__cxx11::list<int>' requested
    7 |     list<int>ssu[] ={2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317};
      |                                                ^~
a.cc:7:51: error: conversion from 'int' to non-scalar type 'std::__cxx11::list<int>' requested
    7 |     list<int>ssu[] ={2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317};
      |                                                   ^~
a.cc:7:54: error: conversion from 'int' to non-scalar type 'std::__cxx11::list<int>' requested
    7 |     list<int>ssu[] ={2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317};
      |                                                      ^~
a.cc:7:57: error: conversion from 'int' to non-scalar type 'std::__cxx11::list<int>' requested
    7 |     list<int>ssu[] ={2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317};
      |                                                         ^~
a.cc:7:60: error: conversion from 'int' to non-scalar type 'std::__cxx11::list<int>' requested
    7 |     list<int>ssu[] ={2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317};
      |                                                            ^~
a.cc:7:63: error: conversion from 'int' to non-scalar type 'std::__cxx11::list<int>' requested
    7 |     list<int>ssu[] ={2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317};
      |                                                               ^~
a.cc:7:66: error: conversion from 'int' to non-scalar type 'std::__cxx11::list<int>' requested
    7 |     list<int>ssu[] ={2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317};
      |                                                                  ^~
a.cc:7:69: error: conversion from 'int' to non-scalar type 'std::__cxx11::list<int>' requested
    7 |     list<int>ssu[] ={2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317};
      |                                                                     ^~
a.cc:7:72: error: conversion from 'int' to non-scalar type 'std::__cxx11::list<int>' requested
    7 |     list<int>ssu[] ={2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317};
      |                                                                        ^~
a.cc:7:75: error: conversion from 'int' to non-scalar type 'std::__cxx11::list<int>' requested
    7 |     list<int>ssu[] ={2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317};
      |                                                                           ^~
a.cc:7:78: error: conversion from 'int' to non-scalar type 'std::__cxx11::list<int>' requested
    7 |     list<int>ssu[] ={2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317};
      |                                                                              ^~
a.cc:7:81: error: conversion from 'int' to non-scalar type 'std::__cxx11::list<int>' requested
    7 |     list<int>ssu[] ={2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317};
      |                                                                                 ^~
a.cc:7:84: error: conversion from 'int' to non-scalar type 'std::__cxx11::list<int>' requested
    7 |     list<int>ssu[] ={2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317};
      |                                                                                    ^~
a.cc:7:87: error: conversion from 'int' to non-scalar type 'std::__cxx11::list<int>' requested
    7 |     list<int>ssu[] ={2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317};
      |                                                                                       ^~
a.cc:7:90: error: conversion from 'int'