Rabu, 04 Januari 2017

UVA 11934 - Magic Formula Solution

Problem Statement: Magic Formula

Explanation

Use brute force approach to solve this problem. Try to substitute number from 0  up to L to the quadratic function and check if the value divisible by d or not.

Source Code

Tidak ada komentar:

Posting Komentar