DDr89ijk's blog

By DDr89ijk, history, 5 months ago, In English

Is there any difference between 1ll and 1LL in C++? (I know, it's a really silly question)

  • Vote: I like it
  • +11
  • Vote: I do not like it

»
5 months ago, # |
  Vote: I like it +39 Vote: I do not like it

1LL is readable independently of the font shape and size.

»
5 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Both are same and it is used to represent that 1 is in 64-bits. The only difference is one is in small letters and the other is in capital. You can read the first point : Common Mistakes in Competitive Programming