from subprocess import run



with open("./tmp215378912379.cpp", mode='w') as f:

  f.write("""

#include <bits/stdc++.h>

template <class T>

concept Integral = std::is_integral_v<T>;



int main() {

  auto f = []<Integral T>(T a, T b) { return a * b; };

  int a, b;

  std::cin >> a >> b;

  std::cout << f(a, b) << std::endl;

}

""")



run("g++ -o ./tmp215378912379 -std=gnu++2a -fconcepts ./tmp215378912379.cpp && ./tmp215378912379", shell=True)
from subprocess import run

from os import path



if not path.exists("./tmp215378912379"):

  with open("./tmp215378912379.cpp", mode='w') as f:

    f.write("""

  #include <bits/stdc++.h>

  template <class T>

  concept Integral = std::is_integral_v<T>;



  int main() {

    auto f = []<Integral T>(T a, T b) { return a * b; };

    int a, b;

    std::cin >> a >> b;

    std::cout << f(a, b) << std::endl;

  }

  """)



  run("g++ -o ./tmp215378912379 -std=gnu++2a -fconcepts ./tmp215378912379.cpp", shell=True)



run("./tmp215378912379")
from subprocess import run

with open("./tmp215378912379.cpp", mode="w") as f:
    f.write(
        """
#include <bits/stdc++.h>
template <class T>
concept Integral = std::is_integral_v<T>;
int main() {
  auto f = []<Integral T>(T a, T b) { return a * b; };
  int a, b;
  std::cin >> a >> b;
  std::cout << f(a, b) << std::endl;
}
"""
    )
run(
    "g++ -o ./tmp215378912379 -std=gnu++2a -fconcepts ./tmp215378912379.cpp && ./tmp215378912379",
    shell=True,
)

from subprocess import run
from os import path

if not path.exists("./tmp215378912379"):
    with open("./tmp215378912379.cpp", mode="w") as f:
        f.write(
            """
  #include <bits/stdc++.h>
  template <class T>
  concept Integral = std::is_integral_v<T>;
  int main() {
    auto f = []<Integral T>(T a, T b) { return a * b; };
    int a, b;
    std::cin >> a >> b;
    std::cout << f(a, b) << std::endl;
  }
  """
        )
    run(
        "g++ -o ./tmp215378912379 -std=gnu++2a -fconcepts ./tmp215378912379.cpp",
        shell=True,
    )
run("./tmp215378912379")

+from os import path -with open("./tmp215378912379.cpp", mode="w") as f: -    f.write( -        """ -#include <bits/stdc++.h> -template <class T> -concept Integral = std::is_integral_v<T>; -int main() { -  auto f = []<Integral T>(T a, T b) { return a * b; }; -  int a, b; -  std::cin >> a >> b; -  std::cout << f(a, b) << std::endl; -} -""" +if not path.exists("./tmp215378912379"): +    with open("./tmp215378912379.cpp", mode="w") as f: +        f.write( +            """ +  #include <bits/stdc++.h> +  template <class T> +  concept Integral = std::is_integral_v<T>; +  int main() { +    auto f = []<Integral T>(T a, T b) { return a * b; }; +    int a, b; +    std::cin >> a >> b; +    std::cout << f(a, b) << std::endl; +  } +  """ +        ) +    run( +        "g++ -o ./tmp215378912379 -std=gnu++2a -fconcepts ./tmp215378912379.cpp", +        shell=True, -run( -    "g++ -o ./tmp215378912379 -std=gnu++2a -fconcepts ./tmp215378912379.cpp && ./tmp215378912379", -    shell=True, -) +run("./tmp215378912379")