Skip to main content
1 of 3
M L
  • 3.3k
  • 1
  • 19
  • 19

HPPPL (HP Prime Programming Language), 58 bytes

EXPORT s(m)
BEGIN
return sum([2,3,4,1].*m)+10*min(m);
END;

HPPPL is the programming language for the HP Prime color graphing calculator/CAS.

Example runs:

HPPPL screen capture of sjoelen point count program

M L
  • 3.3k
  • 1
  • 19
  • 19