MCPcopy Create free account

hub / github.com/MathProgrammer/CodeForces / functions

Functions2,569 in github.com/MathProgrammer/CodeForces

↓ 1 callersFunctiondisplay_prime_series_that_sums_to_n
C Programs/C Programs - 2/Bachgold_Problem.c:41
↓ 1 callersFunctiondistinct_digits
Contests/Div 2 589/Programs/Distinct Digits.cpp:6
↓ 1 callersFunctionextended_gcd
2020/Practice/Programs/Line.cpp:7
↓ 1 callersFunctionf
Contests/463 Div 1 + 2 ICM Technex/Programs/Team Work.cpp:25
↓ 1 callersFunctionfactorial
2021/Div 2/714 Division by Zero 2021/Programs/AND Sequences.cpp:7
↓ 1 callersFunctionfactorial
C Programs/C Programs - 9/I'm Bored with Life.cpp:5
↓ 1 callersFunctionfactorise
2020/Div 3/615 Div 3/Programs/Product of Three Numbers.cpp:8
↓ 1 callersFunctionfactorise
2020/Educational Rounds/Educational Round 85/Programs/Divisor Paths.cpp:37
↓ 1 callersFunctionfactorise
2020/Div 2/613 Div 2/Programs/Fadi and LCM.cpp:11
↓ 1 callersFunctionfactorise
Contests/Div 2 589/Programs/Primes and Multiplication.cpp:23
↓ 1 callersFunctionfactorise
Contests/Div 2 554/Programs/Neko Does Math.cpp:14
↓ 1 callersFunctionfactorise
Contests/Div 2 599/Programs/Tile Painting.cpp:6
↓ 1 callersFunctionfactorise
Contests/Div 2 538/Programs/Trailing Loves.cpp:8
↓ 1 callersFunctionfactorise
C Programs/C Programs 23/On Number of Decompositions into Multipliers.cpp:67
↓ 1 callersFunctionfactorise
C Programs/C Programs 23/Counting Arrays.cpp:65
↓ 1 callersFunctionfair
2020/Div 2/692 Div 2/Programs/Fair Numbers.cpp:5
↓ 1 callersFunctionfind_coefficient_of_income
C Programs/C Programs - 6/Accounting.c:24
↓ 1 callersFunctionfind_counterexample
Return m such that m.n + 1 is guaranteed to be composite
C Programs/C Programs - 4/PolandBall_and_Hypothesis.c:13
↓ 1 callersFunctionfind_depth_of_employee
C Programs/C Programs - 3/Party.c:46
↓ 1 callersFunctionfind_depths_of_all_employees
C Programs/C Programs - 3/Party.c:61
↓ 1 callersFunctionfind_difference
Contests/Div 2 538/Programs/Arithmetic Progression.cpp:37
↓ 1 callersFunctionfind_digit_sum
C Programs/C Programs - 8/Sum of Digits.cpp:5
↓ 1 callersFunctionfind_eventually_falling_bumpers
C Programs/C Programs - 6/Jumping_Ball.c:20
↓ 1 callersFunctionfind_filler_length_from_here
C Programs/C Programs - 2/Interview_with_Oleg.c:60
↓ 1 callersFunctionfind_first
2020/Div 2/684 Div 2/Programs/Greedy Shopping.cpp:76
↓ 1 callersFunctionfind_gcd
C Programs/C Programs - 7/Alice_and_Bob.c:6
↓ 1 callersFunctionfind_initial_position
Recursive function to find the initial position. Notice the following abc bac bca cba cab acb abc The same permutation repeats after every six
C Programs/C Programs - 1/Shell_Game.c:28
↓ 1 callersFunctionfind_length_longest_non_decreasing_streak
Contests/Div 2 321/Programs/Kefa_and_First_Step.c:23
↓ 1 callersFunctionfind_length_longest_non_decreasing_streak
C Programs/C Programs - 5/Kefa_and_First_Step.c:23
↓ 1 callersFunctionfind_length_max_increasing_subsequence
C Programs/C Programs - 3/Maximum_Increase.c:32
↓ 1 callersFunctionfind_longest_string
C Programs/C Programs - 5/Making_a_String.c:26
↓ 1 callersFunctionfind_longest_subsequence_odd_sum
C Programs/C Programs - 5/Odd_Sum.c:17
↓ 1 callersFunctionfind_looping_partner
2020/Div 2/CodeCraft 2020/Programs/Nash Matrix.cpp:15
↓ 1 callersFunctionfind_maximum
Contests/Div 2 538/Programs/Arithmetic Progression.cpp:12
↓ 1 callersFunctionfind_maximum
This is obtained when we place one person in m-1 teams each and place all the remaining people in the last team. In any other arrangement, the number
C Programs/C Programs - 4/Random_Teams.c:42
↓ 1 callersFunctionfind_maximum_consecutive_wins
C Programs/C Programs - 1/Opponents.c:95
↓ 1 callersFunctionfind_maximum_number_of_friends
C Programs/C Programs - 4/Fedor_and_New_Game.c:40
↓ 1 callersFunctionfind_maximum_number_of_ones_after_move
C Programs/C Programs - 5/Flipping_Game.c:40
↓ 1 callersFunctionfind_maximum_number_of_pieces
C Programs/C Programs - 5/Cut_Ribbon.c:18
↓ 1 callersFunctionfind_maximum_radius
C Programs/C Programs - 6/Vanya_and_Lanterns.c:27
↓ 1 callersFunctionfind_maximum_score
C Programs/C Programs - 5/Boredom.c:21
↓ 1 callersFunctionfind_maximum_value
C Programs/C Programs - 3/Expression.c:18
↓ 1 callersFunctionfind_maximum_wealth
C Programs/C Programs - 1/Holiday_of_Equality.c:27
↓ 1 callersFunctionfind_minimum
The minimum is obtained when every team has at most one more than the minimum number of people. If there is a team for which the difference between t
C Programs/C Programs - 4/Random_Teams.c:29
↓ 1 callersFunctionfind_minimum_cost
C Programs/C Programs - 3/Cheap_Travel.c:16
↓ 1 callersFunctionfind_minimum_stones_to_be_removed
C Programs/C Programs - 2/Stones_on_a_Table.c:20
↓ 1 callersFunctionfind_minimum_tax
If the number is prime, then only 1 has to be paid. That is the minimum possible. The next minimum is 2. Since the Goldbach conjecture has been veri
C Programs/C Programs - 3/Taxes.c:48
↓ 1 callersFunctionfind_nearest_prime
C Programs/C Programs 17/Jamie and Interesting Graph.cpp:15
↓ 1 callersFunctionfind_no_of_1_in_binary
C Programs/C Programs - 3/Raising_Bacteria.c:22
↓ 1 callersFunctionfind_no_of_accomodating_rooms
C Programs/C Programs - 2/George_and_Accomodation.c:36
↓ 1 callersFunctionfind_no_of_amazing_performances
Go through the array linearly and count the number of times there is a new maxima or minima
C Programs/C Programs - 1/I_Love_Username.c:25
↓ 1 callersFunctionfind_no_of_calendar_columns
C Programs/C Programs - 1/Petr_and_Calendar.c:19
↓ 1 callersFunctionfind_no_of_chips_at_end
C Programs/C Programs - 2/Chips.c:17
↓ 1 callersFunctionfind_no_of_cycles
C Programs/C Programs - 4/Tetrahedron.c:15
↓ 1 callersFunctionfind_no_of_cycles
C Programs/C Programs - 5/Tetrahedron_Efficiently.c:19
↓ 1 callersFunctionfind_no_of_days_equalise_shares
C Programs/C Programs - 6/Oleg_and_Shares.c:25
↓ 1 callersFunctionfind_no_of_days_in
C Programs/C Programs - 1/Petr_and_Calendar.c:36
↓ 1 callersFunctionfind_no_of_divisions
C Programs/C Programs - 4/Chocolate.c:53
↓ 1 callersFunctionfind_no_of_groups
C Programs/C Programs - 3/Party.c:89
↓ 1 callersFunctionfind_no_of_moves_to_centralise_1
C Programs/C Programs - 1/Beautiful_Matrix.c:39
↓ 1 callersFunctionfind_no_of_sets
C Programs/C Programs - 5/Table_Tennis_Game_2.c:15
↓ 1 callersFunctionfind_no_of_standing_dominos
C Programs/C Programs - 3/Domino_Effect.c:42
↓ 1 callersFunctionfind_no_of_winners
C Programs/C Programs - 3/Next_Round.c:32
↓ 1 callersFunctionfind_no_untreated_crimes
C Programs/C Programs - 3/Police_Recruits.c:33
↓ 1 callersFunctionfind_path
Determines the path from a to b
C Programs/C Programs - 2/Transform_A_to_B.c:31
↓ 1 callersFunctionfind_product_all_prime_factors
C Programs/C Programs - 5/Duff_in_Love.c:12
↓ 1 callersFunctionfind_solution
Find smallest x, such that x^2 + s(x)*x = n, where s(x) is the sum of digits of x
C Programs/C Programs - 5/Non_Square_Equation.c:18
↓ 1 callersFunctionfind_strength_of_colour
C Programs/C Programs - 2/A_and_B_Chess.c:35
↓ 1 callersFunctionfind_which_city_elephant_goes_to
Contests/Div 2 205/Programs/Little_Elephant_Rozdil.c:40
↓ 1 callersFunctionfind_which_city_elephant_goes_to
C Programs/C Programs - 1/Little_Elephant_Rozdil.c:40
↓ 1 callersFunctionfind_who_won_more
C Programs/C Programs - 2/Anton_and_Danik.c:33
↓ 1 callersFunctionfind_who_won_more
C Programs/C Programs - 3/Mishka_and_Game.c:45
↓ 1 callersFunctionfirst_index
Contests/Div 2 489/Programs/Nastya and King-Shamans.cpp:65
↓ 1 callersFunctionflip
2020/Div 2/684 Div 2/Programs/Binary Table.cpp:7
↓ 1 callersFunctionflip
2022/Contests/Div 2/789/Programs/Tokitsukaze and Good 01-String (easy version).cpp:8
↓ 1 callersFunctionflip_corner_L
x x x*/
2020/Div 2/684 Div 2/Programs/Binary Table.cpp:26
↓ 1 callersFunctionflip_down_L
x x x */
2020/Div 2/684 Div 2/Programs/Binary Table.cpp:48
↓ 1 callersFunctionflip_down_back_L
x x x */
2020/Div 2/684 Div 2/Programs/Binary Table.cpp:59
↓ 1 callersFunctionflip_down_corner_L
x x x*/
2020/Div 2/684 Div 2/Programs/Binary Table.cpp:37
↓ 1 callersFunctionflip_down_up_L
x x x */
2020/Div 2/684 Div 2/Programs/Binary Table.cpp:81
↓ 1 callersFunctionflip_up_L
x x x */
2020/Div 2/684 Div 2/Programs/Binary Table.cpp:70
↓ 1 callersFunctionfull_corner_edges
Contests/607 Div 1 + 2/Programs/Beingawesomeism.cpp:93
↓ 1 callersFunctiongcd
2020/Educational Rounds/Educational Round 81/Programs/Same GCDs.cpp:6
↓ 1 callersFunctiongcd
2020/Educational Rounds/Educational Round 86/Programs/Yet Another Counting Problem.cpp:6
↓ 1 callersFunctiongcd
2020/Practice/Programs/Ant Colony.cpp:24
↓ 1 callersFunctiongcd
Contests/Div 2 588/Programs/Kamil and Making a Stream.cpp:13
↓ 1 callersFunctiongcd
Contests/Educational Round 11/Programs/Co Prime Array.cpp:6
↓ 1 callersFunctiongcd
C Programs/C Programs - 9/Fox and Number Game.cpp:6
↓ 1 callersFunctiongcd
We use bitwise operations instead of multiply and divide simply because it is faster at the hardware level.*/
C Programs/C Programs - 1/Taymr_is_Calling_You.c:20
↓ 1 callersFunctiongcd
We use bitwise operations instead of multiply and divide simply because it is faster at the hardware level.*/
C Programs/C Programs - 1/The_Wall.c:19
↓ 1 callersFunctiongcd
C Programs/C Programs 12/Co Prime Array.cpp:6
↓ 1 callersFunctiongcd
C Programs/C Programs 13/Epic Game.cpp:5
↓ 1 callersFunctiongcd_
Contests/Div 2 489/Programs/Nastya Studies Informatics.cpp:12
↓ 1 callersFunctionget
2020/Div 3/624 Div 3/Programs/Moving Points.cpp:59
↓ 1 callersFunctionget
2020/Div 2/684 Div 2/Programs/Binary Table.cpp:160
↓ 1 callersFunctionget_answer
2020/Practice/Programs/Ants in Leaves.cpp:31
↓ 1 callersFunctionget_answer
Contests/Div 2 371/Programs/Filya_and_Homework.c:92
↓ 1 callersFunctionget_answer
Contests/Div 2 489/Programs/Nastya and King-Shamans.cpp:82
↓ 1 callersFunctionget_answer
Contests/Div 2 489/Programs/Nastya and King-Shamans Alternate Solution.cpp:94
↓ 1 callersFunctionget_answer
C Programs/C Programs - 3/Fedya_and_Maths.c:22
← previousnext →401–500 of 2,569, ranked by callers