Giter Club home page Giter Club logo

niharim's Projects

linuxcommands icon linuxcommands

To Understand the working of the ls Linux command and simulate the command in C programming language.

r-103-pucca-and-the-card-game icon r-103-pucca-and-the-card-game

Pucca and Garu are playing a card game that is explained as follows : 1. N number of cards are placed in a straight line. 2. Cards are numbered 1 to N from left to right and the ith card has a number Ai written on it. 3. Pucca plays first, then Garu, then Pucca and so on. 4. In each turn a player can choose one card, either the rightmost card or the leftmost card. 5. Whatever card a player chooses, the number on that card is added to the players score and the card is removed from the game. 6. The game ends when there are no other cards to pick. 7. At the end of the game, the player with the maxmimum score wins. 8. If both players have equal scores, then Pucca wins. Pucca and Garu are feeling lazy on this sunday afternoon and have asked you to write a program to determine who the winner of the game will be. INPUT First line contains the number of cards N. (1 <= N <= 105) Second line contains N space separated integers, ith of them denoting Ai. (1 <= Ai <= 106) OUTPUT Print "Pucca" (without quotes) if Pucca wins or "Garu" (without quotes) if Garu wins. Sample Input 0 5 9 3 7 4 8 Sample Output 0 Pucca Explanation 0 Turn 1 : Pucca Takes 9 (Pucca - 9 || Garu - 0 ) Turn 2 : Garu Takes 8 (Pucca - 9 || Garu - 8 ) Turn 3 : Pucca Takes 4 (Pucca - 13 || Garu - 8 ) Turn 4 : Garu Takes 7 (Pucca - 13 || Garu - 15) Turn 5 : Pucca Takes 3 (Pucca - 16 || Garu - 15) Pucca wins Contest ends in 2 days 9 hours 32 minutes 26 seconds Submissions: 1100 Max Score: 50 Rate This Challenge: More

rep icon rep

To implement page replacement algorithm using C language.

satellite-imagery-road-extraction icon satellite-imagery-road-extraction

Developed a Software for semantic segmentation of remote sensing imagery using Fully Convolutional Networks (FCNs). Initially, this software developed for extracting the road network from high-resolution remote sensing imagery. And now, this software can be used to extract various features (Semantic segmentation of remote sensing imagery). This project can also extract from Vector Data. This is part of my Internship at ISRO (Indian SPace Research Organization)'s NRSC (National Remote Sensing Centre) campus.

sjf icon sjf

To implement the SJF Non-Preemptive and preemptive CPU Scheduling algorithm in c++ language.

systemcalls icon systemcalls

To create a new process with appropriate system calls

virtual-memory-manage icon virtual-memory-manage

To create a virtual memory manager and calculate frame address of the instruction using C Programming.

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.