Skip to content

Commit

Permalink
Solutions for some problems from MAY19B.
Browse files Browse the repository at this point in the history
  • Loading branch information
Anishukla committed Oct 11, 2019
1 parent 520c513 commit e5b5296
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
6 changes: 5 additions & 1 deletion MAY19B/MATCHS.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
# -*- coding: utf-8 -*-
"""
Created on Fri May 10 12:11:44 2019
@author: anishukla
"""

""" Link to the problem:
https://www.codechef.com/MAY19B/problems/MATCHS
Link to my profile:
https://www.codechef.com/users/an1shukla """

T = int(input())
f = 0.0

Expand Down
6 changes: 5 additions & 1 deletion MAY19B/REDONE.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
# -*- coding: utf-8 -*-
"""
Created on Wed May 8 12:06:22 2019
@author: anishukla
"""

""" Link to the problem:
https://www.codechef.com/MAY19B/problems/REDONE
Link to my profile:
https://www.codechef.com/users/an1shukla """

L = [1]
for i in range(1, 1000000):
L.append(((L[-1]*(i+2)) + (i+1))%(1000000007))
Expand Down
6 changes: 5 additions & 1 deletion MAY19B/WTBTR.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
# -*- coding: utf-8 -*-
"""
Created on Fri May 10 20:07:33 2019
@author: anishukla
"""

""" Link to the problem:
https://www.codechef.com/MAY19B/problems/WTBTR
Link to my profile:
https://www.codechef.com/users/an1shukla """

def mod(md):
if(md<0):
md = 0 -md
Expand Down

0 comments on commit e5b5296

Please sign in to comment.