Another Contest 6 Problem 8 - #define int long long

View as PDF

Submit solution


Points: 1 (partial)
Time limit: 0.25s
Memory limit: 1G

Problem type

You are given two 32-bit signed integers. Compute their product.

Input Specification

The input will consist of two lines.

The first line will contain a single 32-bit signed integer.

The second line will contain a single 32-bit signed integer.

Output Specification

Output the product of the two integers.


Comments


  • 0
    justin_g_20  commented on July 20, 2021, 6:13 a.m.

    Is this problem only possible to get the points in variants of C


    • 1
      Nils_Emmenegger  commented on July 21, 2021, 5:59 p.m.

      So far there have been accepted submissions in Python 3, Java 8, Zig, Ruby 2, and Rust. While it may be more straightforward in C/C++, I think it is safe to say that it is possible in every language.


  • -3
    dchoo333  commented on July 13, 2021, 7:44 a.m. edited

    My submission doesn't work in Python 3, but works in C++03.