|  | 
|  | 
| | | Show all threads     Hide all threads     Show all messages     Hide all messages |  | Some test cases | Smilodon_am [Obninsk INPE] | 2048. History | 27 May 2020 11:32 | 3 |  | My accepted program gives below answers for tests:
 Test:
 1919 1000000000
 
 Answer:
 0: 0
 1: 427499181
 2: 424999184
 3: 147499717
 4: 0
 5: 0
 6: 0
 7: 0
 8: 0
 9: 0
 10: 0
 11: 0
 12: 0
 
 
 Test:
 100000 2000000
 
 Answer:
 0: 0
 1: 812251
 2: 807500
 3: 280250
 4: 0
 5: 0
 6: 0
 7: 0
 8: 0
 9: 0
 10: 0
 11: 0
 12: 0
Have you used info that Gregorian calendar repeated for each 400 years?test:9876 9876
 
 answer:
 0: 0
 1: 1
 2: 0
 3: 0
 4: 0
 5: 0
 6: 0
 7: 0
 8: 0
 9: 0
 10: 0
 11: 0
 12: 0
 
 test:
 1234567890 987654321012345678909876543210123456789
 
 answer:
 0: 0
 1: 422222222232777777733972222221800000004
 2: 419753086430246913536697530863777777784
 3: 145679012349320987639206790123311111112
 4: 0
 5: 0
 6: 0
 7: 0
 8: 0
 9: 0
 10: 0
 11: 0
 12: 0
 
 Right or wrong?
 
 Edited by author 27.05.2020 11:35
 |  | Тест #3 | DoubleU | 2048. History | 11 Oct 2015 19:32 | 1 |  | Почему не проходит тест? Вроде все правильно | 
 | 
 | 
|