Copycat Read an integer variable and print it. |

Add Them Up Read two integer variables, calculate their sum, and print it. |

Is Palindrome Given a word, print Yes if it is a palindrome, otherwise No. A palindrome is a word which reads the ... |

Formatted Numbers Read an integer variable and print it in which the digits are separated into groups of three by comm... |

Divisors Read an integer variable and print all of its divisors (including 1 and the number itself). |

I Did Not Do the Assignment Professor Petr is very angry over some of his students now-a-days for not doing assignment. He wants... |

Fibonacci Numbers Given an integer N, print the N-th Fibonacci number. A Fibonacci series is a series of numbers in wh... |

Clock Math Given a time (hours as H and minutes as M), determine the smaller angle between the two hands of a c... |

Is Anagram An anagram is a word formed by rearranging the letters of another word. The words "listen" and "sile... |

Pie Are Squared Given the radius of a circle, calculate and print its area. The area of a circle can be computed usi... |

Maximum Given N numbers, find the one that is of the highest value and print it. |

Big Factorials Given an integer N, print the trailing 4 digits of N! (N factorial). N!=N×(N−1)×(N−2)×...×1 Here are... |

Decent Arrays Given N numbers determine if they are in ascending order. |

Sofdor Ali's Magical Blackboard! Sofdor Ali found interest in mathematics very early in his life. And now, he wants to spread this in... |

Three Letter Words Given a line of text find all the three-letter words. |

Cash Change You have an unlimited number of cash notes of the following denominations: 1, 5, 10, 50, 100, 500. G... |

Within the Span You will be given a snippet of HTML. The HTML will have at most one <span> element. You will have to... |

Full Pyramid Given an integer N, print a full pyramid of asterisks. A full pyramid of asterisks of size N has N l... |

Odd Screams You will be given a string with one or more a’s. You have to write a regular expression that matches... |

Better Passwords Byang is creating an account on Toph. He needs your help to create a strong password. Byang will giv... |

Leap Years In the Gregorian calendar, certain years have 366 days instead of 365. In such years, the month of F... |

Missing Number Given the sum of four numbers and three of those numbers, find the missing number. All four numbers ... |

Fair Distribution Mr. Forhad has X children. One day, on his way home, he bought Y chocolates for his children. He doe... |

Carrot on a Stick Given a list of numbers, print only the even numbers. |

Black or White Imagine an infinite chess board. The cell on the bottom-left most corner is labelled (0,0). The cell... |

2Sat, Adhoc, ApolloneasTheorem, Backtracking, BFS, Bignum, BinarySearch, BipartiteMatching, Bitmask, BruteForce, ChineseRemainderTheorem, Combinatorics, ConvexHull, CutVertex, DataStructure, DFS, DigitDP, DisjointSets, DivideAndConquer, DP, Eertree, EulerTour, ExpectedValue, FenwickTree, FFT, Flow, Game, GCD, Geometry, Graph, Greedy, Hashing, HeavyLightDecomposition, Implementation, InclusionExclusion, Interactive, KnuthMorrisPratt, LowestCommonAncestor, Math, Matrix, MatrixExponentiation, MergeSortTree, ModularExponentiation, MOSAlgorithm, MST, NTT, NumberTheory, Parsing, PersistentLiChaoTree, PersistentSegmentTree, PollardRho, PriorityQueue, Probability, Queue, RabinMiller, RangeOrderStatistics, Scheduling, SegmentTree, ShortestPath, Simulation, Sorting, SparseTable, SpragueGrundyTheorem, SqrtDecomposition, Stack, String, StronglyConnectedComponents, SuffixStructure, TernarySearch, Tree, Trie, TwoPointer, WaveletTree

Toph uses cookies. By continuing you agree to our Cookie Policy.