« first day (443 days earlier)
← previous day
next day →
last day (2058 days later) »
cattt
04:17
codechef.com/JULY19B/problems/MMAX
In this how could I take this large input
@AjayMishra @Mayur @Mann
Ajay Mishra
04:54
which input? @cattt (I am in the situation in which I can't pay attention)
cattt
@AjayMishra In the constraints section, the value of
k
constraint
Ajay Mishra
@cattt exponents?
cattt
yes
$10^{100,000}$
Ajay Mishra
I am pretty sure that the input beyond ~unsigned long long int~ won’t be checked. That was mindless.
cattt
So, I think there would be some other logic
imgur.com/rHuQGvq
Ajay Mishra
05:10
you can use modulo and stuff, if you want.
or you can use python.
variable in python can hand that large number
cattt
ohh
Ajay Mishra
@cattt Isn't that was your problem?
cattt
Yes it was
Ajay Mishra
you are finding the variable that could handle with such large numbers?
why not use python?
cattt
I dont know python can hold such large numbers too
Ajay Mishra
05:14
@cattt I computed that number with python, by the way.
cattt
okay
Ajay Mishra
So, if I have computed(in less that fraction of second) then you can too.
cattt
Yes]
Ajay Mishra
Or you can use class which can handle with simple division.
like storing the iteration quotients and modulo.
If you still want to use c++ for that, then there are libraries.
cattt
I will check that
Ajay Mishra
05:18
discuss.codechef.com/t/…
and bunch of related questions on SO
cattt
thanks
9 hours later…
cattt
14:11
@Mayur This time's problems are hard
How many have you done?
2 hours later…
Mayur
16:23
@cattt yes, I agree. Problems are hard. I have not started yet. In my free time i am thinking about CIRMERGE
« first day (443 days earlier)
← previous day
next day →
last day (2058 days later) »
all rooms
Transcript for
Jul
7
Jul '19
8
Jul
9
JEE Maths Zone
Related Rooms: [Physics](
chat.stackexchange.com/rooms/54160/p...
1
algebra-precalculus
calculus
sequences-and-series
join this room
about this room
00:00
06:00
12:00
18:00
all times are UTC
site design / logo © 2025 Stack Exchange Inc;
legal
mobile