Stuck in infinite loop

code - https://ide.codingblocks.com/s/235329

convert int to long long everywhere in the code

thak you very much code is working fine now can you tell how to use ll instead of long long in our code

typedef long long int ll;

or
#define ll long long

Chhavi can we google about syntax or anything that i want to know during the contest time ?. Like in interview also can we google during our coding test i know the question is silly but i want to know

No for on campus purposes u wont be allowed to google
also for hiring challenges conducted online u cannot switch tabs
but for challenges on codechef and things u can search for syntax

i was thinking like i forget some inbuilt function or how arguments are passed in it we cant even google that in our interview exams or event like kickstart

usme to kar sakte the

yr yeh problem sabke sath hoti h
jitni practice karoge
utna yaad hote rahega
try to give more challegne kyuki under pressure ati chese bhi bhool jate h
so that u do not underperform when its the real time

practice is the key to learn the syntax
and cahe glt likho pehle jitna yaad h likho fir google se cross check kar lo

1 Like

okay got it mtlb bhaut saari practice krni hogi jab tk bhaut ache se saab kuch nahi aata.

ha practice is the key to get better here. Its like the maths subject the more u do variety of q the better u get

yes we used to practice a lot of questions of maths specially integration it was fun

1 Like

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.

1 Like