sahal's blog

By sahal, history, 7 weeks ago, In English

I couldn't find out bug in my code. Can anybody tell me what's wrong in my code or can anybody give me a testcase ?? Thanks in advance.

Read more »

 
 
 
 
  • Vote: I like it
  • 0
  • Vote: I do not like it

By sahal, 7 months ago, In English
 
 
 
 
  • Vote: I like it
  • +32
  • Vote: I do not like it

By sahal, history, 7 months ago, In English

Problem

Solution

I don't understand line 24. Why M-1 is used instead of M? Please help me to understand. Thanks in advance.

Read more »

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

By sahal, history, 12 months ago, In English

Can anyone help me solving this problem? CSES PROBLEMSET — Reading Books

Read more »

 
 
 
 
  • Vote: I like it
  • 0
  • Vote: I do not like it

By sahal, history, 12 months ago, In English
 
 
 
 
  • Vote: I like it
  • +1
  • Vote: I do not like it

By sahal, history, 13 months ago, In English
 
 
 
 
  • Vote: I like it
  • +6
  • Vote: I do not like it

By sahal, history, 20 months ago, In English

can anyone help me? How to solve this problem in Extended Euclid algorithm??? https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=1574

Read more »

 
 
 
 
  • Vote: I like it
  • 0
  • Vote: I do not like it