My solutions to Codewars challenges - programmed in Pascal.
![]() |
![]() |
![]() |
|---|---|---|
| Blaise Pascal | Niklaus Wirth | Lazarus IDE |
If you really want to learn Pascal and improve through the challenges, don't just copy my solutions. You won't learn anything that way! (Cheating and plagiarizing is not permitted on the Codewars website. Violators will face account suspension or ban.)
My solutions to some Codewars challenges, programmed in Pascal, might not be the most sophisticated, but at least mostly easy to read and understand.
Current Pascal rank (since March 31, 2026): 4 kyu.
See also:
- My solutions to Codewars challenges - programmed in C
- My solutions to Codewars challenges - programmed in C++
- My solutions to Codewars challenges - programmed in Python
The code I released here into the public domain may appear in third-party projects. I do not maintain, endorse, or have any affiliation with such projects. Any malicious or deceptive use is unauthorized and should be reported to the hosting platform.
- <4 kyu> Getting along with Integer Partitions - Solution: integer_partitions_unit.pas
- <4 kyu> Magnet particules in boxes - Solution: magnet_particules_unit.pas
- <4 kyu> Matrix Determinant - Solution: matrix_determinant_unit.pas
- <4 kyu> Strings Mix - Solution: strings_mix_unit.pas
- <4 kyu> Sum by Factors - Solution: sum_by_factors_unit.pas
- <4 kyu> Twice linear - Solution: twice_linear_unit.pas
- <5 kyu> Best travel - Solution: best_travel_unit.pas
- <5 kyu> Closest and Smallest - Solution: closest_and_smallest_unit.pas
- <5 kyu> Diophantine Equation - Solution: diophantine_equation_unit.pas
- <5 kyu> Euler's method for a first-order ODE - Solution: eulers_method_1st_order_ode_unit.pas
- <5 kyu> Find the smallest - Solution: find_the_smallest_unit.pas
- <5 kyu> Integers: Recreation One - Solution: integers_recreation_one_unit.pas
- <5 kyu> Is my friend cheating? - Solution: is_my_friend_cheating_unit.pas
- <5 kyu> Matching And Substituting - Solution: matching_and_substituting_unit.pas
- <5 kyu> Phone Directory - Solution: phone_directory_unit.pas
- <5 kyu> Some Egyptian fractions - Solution: some_egyptian_fractions_unit.pas
- <6 kyu> Are they the "same"? - Solution: same_arrays_unit.pas
- <6 kyu> ASCII Fun #1: X-Shape - Solution: x_shape_unit.pas
- <6 kyu> Ball Upwards - Solution: ball_upwards_unit.pas
- <6 kyu> Binaries - Solution: binaries_unit.pas
- <6 kyu> Bonuses - Solution: bonuses_unit.pas
- <6 kyu> Braking well - Solution: braking_well_unit.pas
- <6 kyu> Build a pile of Cubes - Solution: pile_of_cubes_unit.pas
- <6 kyu> Buying a car - Solution: buying_a_car_unit.pas
- <6 kyu> Catalog - Solution: catalog_unit.pas
- <6 kyu> Cuckoo Clock - Solution: cuckoo_clock_unit.pas
- <6 kyu> Ease the StockBroker - Solution: ease_the_stockbroker_unit.pas
- <6 kyu> Easy Balance Checking - Solution: easy_balance_checking_unit.pas
- <6 kyu> Easy Diagonal - Solution: easy_diagonal_unit.pas
- <6 kyu> Find the odd int - Solution: find_the_odd_int_unit.pas
- <6 kyu> Floating-point Approximation (I) - Solution: floating_point_approx_1_unit.pas
- <6 kyu> Floating-point Approximation (II) - Solution: floating_point_approx_2_unit.pas
- <6 kyu> Help the bookseller ! - Solution: help_the_bookseller_unit.pas
- <6 kyu> Hidden "Cubic" numbers - Solution: hidden_cubic_numbers_unit.pas
- <6 kyu> How Much? - Solution: how_much_unit.pas
- <6 kyu> Meeting - Solution: meeting_unit.pas
- <6 kyu> Parabolic Arc Length - Solution: parabolic_arc_length_unit.pas
- <6 kyu> Persistent Bugger. - Solution: persistent_bugger_unit.pas
- <6 kyu> Playing with digits - Solution: playing_with_digits_unit.pas
- <6 kyu> Prize Draw - Solution: prize_draw_unit.pas
- <6 kyu> Rainfall - Solution: rainfall_unit.pas
- <6 kyu> Ranking NBA teams - Solution: ranking_nba_teams_unit.pas
- <6 kyu> Reducing by steps - Solution: reducing_by_steps_unit.pas
- <6 kyu> Reverse or rotate? - Solution: reverse_or_rotate_unit.pas
- <6 kyu> Reversing a Process - Solution: reversing_a_process_unit.pas
- <6 kyu> Salesman's Travel - Solution: salesmans_travel_unit.pas
- <6 kyu> Simpson's Rule - Approximate Integration - Solution: simpsons_rule_unit.pas
- <6 kyu> Tank Truck - Solution: tank_truck_unit.pas
- <6 kyu> Texting with an old-school mobile phone - Solution: old_school_texting_unit.pas
- <6 kyu> The latest clock - Solution: the_latest_clock_unit.pas
- <6 kyu> The Walker - Solution: the_walker_unit.pas
- <6 kyu> Tortoise racing - Solution: tortoise_racing_unit.pas
- <6 kyu> Which are in? - Solution: which_are_in_unit.pas
- <7 kyu> A Rule of Divisibility by 7 - Solution: divisibility_by_seven_unit.pas
- <7 kyu> Cats and shelves - Solution: cats_and_shelves_unit.pas
- <7 kyu> Count the Digit - Solution: count_the_digit_unit.pas
- <7 kyu> Drying Potatoes - Solution: drying_potatoes_unit.pas
- <7 kyu> Easy wallpaper - Solution: easy_wallpaper_unit.pas
- <7 kyu> Floating-point Approximation (III) - Solution: floating_point_approx_3_unit.pas
- <7 kyu> Going to the cinema - Solution: going_to_the_cinema_unit.pas
- <7 kyu> Leap Years - Solution: leap_years_unit.pas
- <7 kyu> Looking for a benefactor - Solution: new_average_unit.pas
- <7 kyu> Maximum Multiple - Solution: maximum_multiple_unit.pas
- <7 kyu> Palindrome chain length - Solution: palindrome_chain_length_unit.pas
- <7 kyu> Robinson Crusoe - Solution: robinson_crusoe_unit.pas
- <7 kyu> Scaling Squared Strings - Solution: scaling_squared_strings_unit.pas
- <7 kyu> Target Date - Solution: target_date_unit.pas
- <7 kyu> Vowel Count - Solution: vowel_count_unit.pas
- <7 kyu> Waiting room - Solution: waiting_room_unit.pas
- <8 kyu> Even or Odd - Solution: even_or_odd_unit.pas
- <8 kyu> Function 1 - hello world - Solution: hello_world_unit.pas


