[an error occurred while processing this directive]
[an error occurred while processing this directive]
Ну вот, ошибка в кодировании (не в алгоритме). В результате - переполнение в арифметике.
(«Телесистемы»: Конференция «Микроконтроллеры и их применение»)
[an error occurred while processing this directive]
[an error occurred while processing this directive]
[an error occurred while processing this directive]