some old code | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

some old code

What this for(int j=0;j<=1e8;j++) loop does ? what does 1e8 mean ?

3rd Apr 2018, 6:02 PM
N1H4R
N1H4R - avatar
3 Answers
+ 5
1e8 means 10^8, i.e. 100,000,000 or a hundred million.
3rd Apr 2018, 6:05 PM
Emma
+ 6
Xan is correct. Just to add, the 'e' stands for 'exponential.' It's all part of the scientific/exponential notation in math.
3rd Apr 2018, 6:41 PM
Fata1 Err0r
Fata1 Err0r - avatar
+ 3
thank you guys. helped me a lot :)
3rd Apr 2018, 6:43 PM
N1H4R
N1H4R - avatar