Giter VIP home page Giter VIP logo

entry-test's Introduction

Entry-test

GL C/Embedded BaseCamp Entry Test


Task-1

I would like to make a little comment regarding Task#1.

In the task is given that Giant could step over each K-th stair.

In this case, the answer to the question of how many stairs will Giant step in total is N - N/K.

(He steps over each K-th stair, then in total he steps over N/K stairs. That means that he steps N - N/K stairs.)

But, according to the given examples, he steps over K stairs on each step. In my code, I provide solution for this case.


Instructions & examples

  • Task-1
g++ task1.cpp -o steps

./steps $N $K
  • Task-2
g++ task2.cpp -o cables

./cables $N $D
  • Task-3
g++ task3.cpp -o ls
./ls -la

./ls -l

./ls -a
  • Task-4
g++ task4.cpp -o extract

./extract file.img somedir

entry-test's People

Contributors

agrystinka avatar

Watchers

James Cloos avatar  avatar

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.