Please subscribe to the official Codeforces channel in Telegram via the link https://t.me/codeforces_official. ×

question related to floor function

Revision en1, by fresher96, 2015-11-06 19:20:33

does this equation hold for all positive integers

floor( z / (x*y) ) = floor( floor(z / x) / y )

if so, how to prove it?

i have already tested it on randomly generated numbers. also, i have previously used it in a problem and it worked fine

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English fresher96 2015-11-06 19:20:33 283 Initial revision (published)