Giter VIP home page Giter VIP logo

Vinayak godse's Projects

back-to-school icon back-to-school

In our school days, all of us have enjoyed the Games period. Raghav loves to play cricket and is Captain of his team. He always wanted to win all cricket matches. But only one last Games period is left in school now. After that he will pass out from school. So, this match is very important to him. He does not want to lose it. So he has done a lot of planning to make sure his teams wins. He is worried about only one opponent - Jatin, who is very good batsman. Raghav has figured out 3 types of bowling techniques, that could be most beneficial for dismissing Jatin. He has given points to each of the 3 techniques. You need to tell him which is the maximum point value, so that Raghav can select best technique. 3 numbers are given in input. Output the maximum of these numbers. Input: Three space separated integers. Output: Maximum integer value SAMPLE INPUT 8 6 1 SAMPLE OUTPUT 8

count-divisors icon count-divisors

You have been given 3 integers - l, r and k. Find how many numbers between l and r (both inclusive) are divisible by k. You do not need to print these numbers, you just have to find their count. Input Format The first and only line of input contains 3 space separated integers l, r and k. Output Format Print the required answer on a single line. Constraints SAMPLE INPUT 1 10 1 SAMPLE OUTPUT 10

movement icon movement

An elephant decided to visit his friend. It turned out that the elephant's house is located at point 0 and his friend's house is located at point of the coordinate line. In one step the elephant can move 1, 2, 3, 4 or 5 positions forward. Determine, what is the minimum number of steps he need to make in order to get to his friend's house. Input First and the only line contain the integer which denotes the position of his friend's house. Output Output contains a single line denoting the minimum number of steps. Constraints SAMPLE INPUT 26 SAMPLE OUTPUT 6 Explanation For = 26, elephant can move as Hence he needed 6 steps to reach at position 26.

roy-and-profile-picture icon roy-and-profile-picture

Roy wants to change his profile picture on Facebook. Now Facebook has some restriction over the dimension of picture that we can upload. Minimum dimension of the picture can be L x L, where L is the length of the side of square. Now Roy has N photos of various dimensions. Dimension of a photo is denoted as W x H where W - width of the photo and H - Height of the photo When any photo is uploaded following events may occur: [1] If any of the width or height is less than L, user is prompted to upload another one. Print "UPLOAD ANOTHER" in this case. [2] If width and height, both are large enough and (a) if the photo is already square then it is accepted. Print "ACCEPTED" in this case. (b) else user is prompted to crop it. Print "CROP IT" in this case. (quotes are only for clarification) Given L, N, W and H as input, print appropriate text as output. Input: First line contains L. Second line contains N, number of photos. Following N lines each contains two space separated integers W and H. Output: Print appropriate text for each photo in a new line. Constraints: 1 <= L,W,H <= 10000 1 <= N <= 1000 SAMPLE INPUT 180 3 640 480 120 300 180 180 SAMPLE OUTPUT CROP IT UPLOAD ANOTHER ACCEPTED

tictactoe icon tictactoe

Tic Tac Toe game web version simply using HTML, JS.

vanilla-framework icon vanilla-framework

From community websites to web applications, this CSS framework will help you achieve a consistent look and feel.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.