Задание по информатике, текст задания - ниже.
Var Date: string; year:integer; begin readln(Date); Delete(Date, 1, Pos('.', Date)); Delete(Date, 1, Pos('.', Date)); year:=StrToInt(Date); writeln(2015-year); end.