Programming

618 Articles 12 Followers


They see me Palindroming @ Dcoder

7 Jul 2023 1 minute read 0 comments Lochard $0.02

Problem: In india there is a puzzle"5 characters my name, reverse- forward is the same." You will be presented with a 5 character String, you have to tell whether it satisfy above puzzle, if yes output "Yes" else "No" Input: Input is String S of 5 ch...

Toggle Me! @ Dcoder

6 Jul 2023 1 minute read 0 comments Lochard $0.04

Problem: Cody is very irritating child. He always change the characters in his homework, he has a trick. He change all small letter to capital and viceversa. His frinds gave him the title "The Toggle dude".One day his friends gave him some words, but...

The irritating Students @ Dcoder

5 Jul 2023 1 minute read 0 comments Lochard $0.01

Problem: Cody is Professor at Zing University. He teaches English there. During his first class, he found the students are very talkative. So,he decided to divide the class into two sections, A & B such that the difference between the strength of two...

The Predictor @ Dcoder

3 Jul 2023 1 minute read 0 comments Lochard $0.01

Problem: Cody always wanted to have some psychic powers so that he could showoff his skills, and magic to people and impress them, specially his girlfriend.But, in spite all his efforts, hardwork, dedication, Googling, watching youtube videos he coul...

Let's get GCD @ Dcoder

1 Jul 2023 1 minute read 0 comments Lochard $0.01

Problem: Cody was doing his maths homework, suddenly he found a GCD(Greatest Comman divisor) problem. He is very lazy to do all the calculations for this exercise, so he just took his mobile and opened the Dcoder App, decided to code a program to fin...

The closest to Average @ Dcoder

30 Jun 2023 1 minute read 0 comments Lochard $0.01

Problem: You are given an array, you have to find the closest integer to its average, look it has to be closest,not just the truncated version of the average. Input: First line contains n , number of elements of array, next line contains n integer se...

Find me the divisor count @ Dcoder

27 Jun 2023 1 minute read 0 comments Lochard $0.09

Problem: Cody was solving a programming puzzle in Dcoder, and as always he is unable to do it alone. Puzzle statement is You are given three integers l,h,d and you have to find that how many integers between l and h (inclusive) are divisible by d.Let...

Square of squares @ Dcoder

26 Jun 2023 1 minute read 0 comments Lochard $0.01

Problem: You have a hobby of building blocks. You are especially fond of building blocks that are squares. And what you even like more, is to arrange them into a square of square building blocks! /n However, sometimes, you are unable to achieve this...

The Report Card! @ Dcoder

23 Jun 2023 1 minute read 0 comments Lochard $0.01

Problem: Priyanka is Professor at Zing University. Help the professor in assigning grades to her students.   The mean score of three subjects is to graded into 'A', 'B', 'C' or 'D' or 'F' depending upon the marks scored.   For the score >90 and score...

[ EN | PT ] Grasshopper will cease to exist - Grasshopper vai deixar de existir

7 Jun 2023 1 minute read 0 comments lingy $0.02

Well, that's it, Google has a programming teaching project for children and teenagers similar to FreeCodeCamp which is called Grasshopper. Like FreeCodeCamp, Grasshopper has the proposal to teach web programming in a simple and fun way, but with a m...