Compare commits

..

No commits in common. "27bebc97c06c67a5c2eaaa142a3ff273ea19e0fc" and "dc8c32391023cc04783efb10b29da462e105b61b" have entirely different histories.

3 changed files with 0 additions and 33 deletions

View File

@ -1,3 +0,0 @@
int main(){
}

View File

@ -1,9 +0,0 @@
from sys import stdin
stdread = stdin.read()
nstr = stdread.split()
for i in nstr[1:]:
if i[-1] == "0":
print("E")
else:
print("B")

View File

@ -1,21 +0,0 @@
def isr(n:int)->bool:
if n%4==0:
return True
return False
def r(a:int,b:int)->int:
ret = 0
for i in range(a,b+1):
if isr(i):
ret+=1
return ret
md = [0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]
bf = 400*365+r(1,400)
d1600 = 4*bf
d1582 = d1600 - 19*365 - 5
ac = d1582 + sum(md[1:10])+4
d4713 = 4800//400*bf - r(4713,4800) - (4800-4713)*365
print(d4713 + ac)