Giter Club home page Giter Club logo

hgurnel's Projects

anagramgame icon anagramgame

A word game. The user has to create anagrams of a given std::string.

cvlatex icon cvlatex

A generic CV in LaTeX, using the moderncv template

genericsort icon genericsort

A template array class that contains different famous sorting algorithms, in order to understand their differences.

multilevelnestedlists icon multilevelnestedlists

Program that computes the mean of each argument contained in N input lines. Those arguments are associated with a value that can be a number (<0, >0, int, float) or lists (empty [], single level [1,2,3] or nested [1,2,[3,4]]). INPUT: user inputs a number of lines N, then N lines with arguments and values, formatted as such --letterNumber=value --letterNumber=value, example: --a0=22--B32=[] --z1=[1,2,[3,4]]. OUTPUT: this example line should lead to an output of 22 0 2.17. Inner lists, such as [3,4] here, are averaged first. Results are given either as ints (if the result is actually an int or if it is equal to sthing like 4.0 --> 4) or floats (rounded to 2 decimals)

permutationmatrices icon permutationmatrices

Program that tells whether input matrices correspond to permutation matrices. A permutation matrix is a square binary matrix (it contains only zeros and ones) that changes the order of the values contained in a vector, without changing those values. INPUT: here, the user inputs N square matrices (N>0), their size Mi and their rows Ri,j (row j of matrix i). Rows are entered as ints, which will be written in binary in the matrix. Example: if a row equal to 3 is input by the user, 0 1 1 will be written in the matrix. Example input: 2 3 0 1 2 3 1 2 4 corresponds to 2 input 3x3 matrices. The first (0 1 2) is not a permutation matrix (so the output should be 0) while the second one (1 2 4) is a permutation matrix (so the output should be 1). Hence, this input should produce 0 1. NOTE: each row should be < 2**Mi. NOTE: no packages were used.

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.