|
|
вернуться в форумSome test cases 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 Re: Some test cases Послано dOLDed 3 мар 2020 13:10 Have you used info that Gregorian calendar repeated for each 400 years? Re: Some test cases Послано ura 27 май 2020 11:32 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 |
|
|