From 48b508e3330da7ed4cbc42bdc896e800fc858e22 Mon Sep 17 00:00:00 2001 From: hanyixuanten <105723997+hanyixuanten@users.noreply.github.com> Date: Wed, 12 Aug 2026 23:09:59 +0800 Subject: [PATCH] new file: P1401.cpp --- P1401.cpp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 P1401.cpp 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