From 1abf1da8c46366119c8321c22d061d9b680dce20 Mon Sep 17 00:00:00 2001 From: Samuel <138226245+GuoYuKai-SaMuEl@users.noreply.github.com> Date: Thu, 26 Sep 2024 22:57:32 +0800 Subject: [PATCH] Update gen.cpp --- pD/gen/gen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pD/gen/gen.cpp b/pD/gen/gen.cpp index 2ea7a32..45409f1 100644 --- a/pD/gen/gen.cpp +++ b/pD/gen/gen.cpp @@ -12,7 +12,7 @@ int main(int argc, char* argv[]){ if(subtask==1)c=0; else if(subtask==2)c=(idx%2?rnd.next(1,100):rnd.next(100000,1000000)); else if(subtask==3||subtask==4)c=1e18; - else c=(idx%4==1?rnd.next(1,100):idx%4==2?rnd.next(100000,1000000):idx%4==3?rnd.next(1000000000LL,10000000000LL):rnd.next((long long int)1e12,(long long int)1e13)); + else c=(idx%4==1?rnd.next(1LL,100LL):idx%4==2?rnd.next(100000LL,1000000LL):idx%4==3?rnd.next(1000000000LL,10000000000LL):rnd.next((long long int)1e12,(long long int)1e13)); cout<