PHP Tutorials By Kloplop321

PHP video tutorials, for everyone.
  • Home
  • About
  • Contact
  • Subscribe
  • Tutorial List

Category:

  • PHP
    • Uploading
  • Tutorial
    • PHP Tutorials
      • MySQL
        • Insert
        • PHPMyAdmin
        • Select
        • SQL
  • Uncategorized

Archives:

  • July 2010
  • June 2010
  • April 2010
  • March 2010
  • February 2010
  • January 2010
  • December 2009
  • November 2009

Blogroll:

  • Tech Paul

Meta:

  • RSS
  • Comments RSS
  • Valid XHTML
  • 15Feb

    PHP Programming Competition Problem 01

    PHP, PHP Tutorials No Comments

    I’ve decided to record how to make complete solutions for a certain problem from a High School programming competition, and the solution for it.

    The problem: You are to write a program which will input a positive integer n and output the number of
    divisors of n and the sum of those divisors. (Note: by divisor we mean a positive integer
    divisor this includes 1 and n.)

    Source code after the jump
    Read more…

    Tags: command line, competition, integer, modulo, numbers, PHP, problem

   

PHP Tutorials By Kloplop321 is proudly powered by WordPress Entries RSS Comments RSS