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

SQRT DECOMPOSITION

Revision en3, by SAFWAN.K, 2016-05-17 00:25:40

Hi All

can anyone tell me why this two solution

gives me WA on UVA

this is problem : https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=3977

first solution : http://ideone.com/WVbSQO

second solution : http://ideone.com/Kb3TmW

thanks all

Tags sqrt-decomposition

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English SAFWAN.K 2016-05-17 00:25:40 26
en2 English SAFWAN.K 2016-05-17 00:24:31 39
en1 English SAFWAN.K 2016-05-17 00:23:01 331 Initial revision (published)