diff --git a/P1401.cpp b/P1401.cpp new file mode 100644 index 0000000..355b098 --- /dev/null +++ b/P1401.cpp @@ -0,0 +1,18 @@ +#include +using namespace std; +int main() +{ + int a, b, c, d; + scanf("%d%d%d%d", &a, &b, &c, &d); + a = max(abs(a), abs(b)); + c = max(abs(c), abs(d)); + if ((long long)((int)a * (int)c) != (long long)a * (long long)c) + { + puts("long long int"); + } + else + { + puts("int"); + } + return 0; +} \ No newline at end of file