Login   Register  
PHP Classes

File: Example

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Martin Lacroix  >  Calculus  >  Example  >  Download  
File: Example
Role: Example script
Content type: text/plain
Description: How to use
Class: Calculus
Calculate the count of numbers with unique digits
Author: By
Last change:
Date: 3 years ago
Size: 477 bytes


Class file image Download
Calculus::nbOfNumbersWithUniqueDigits(465999);       # Expected   388
$b Calculus::nbOfNumbersWithUniqueDigits(100770);       # Expected   488
$c Calculus::nbOfNumbersWithUniqueDigits(699705);       # Expected     5
$d Calculus::nbOfNumbersWithUniqueDigits(245600322800); # Expected 13140
$e Calculus::nbOfNumbersWithUniqueDigits(0100FALSE);  # Expected    91
$f Calculus::nbOfNumbersWithUniqueDigits(0100TRUE);   # Expected    72