CSES - Aalto Competitive Programming 2024 - wk8 - Mon - Results
Submission details
Task:a times b
Sender:Farah
Submission time:2024-10-28 16:25:36 +0200
Language:C++ (C++11)
Status:COMPILE ERROR

Compiler report

input/code.cpp:2:10: fatal error: boost/multiprecision/cpp_int.hpp: No such file or directory
    2 | #include <boost/multiprecision/cpp_int.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

Code

#include <iostream>
#include <boost/multiprecision/cpp_int.hpp>

using namespace std;
using namespace boost::multiprecision;

int main() {
    cpp_int a, b;
    cin >> a >> b;
    cpp_int result = a * b;
    cout << result << endl;
    return 0;
}