This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# include <stdlib.h> | |
# include <stdio.h> | |
# include <ctype.h> | |
# include <string.h> | |
# include <stdbool.h> | |
# include "valor.h" | |
# include <sys/stat.h> | |
FILE *arquivo, *escrita; | |
int partida = 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# include <stdlib.h> | |
# include <stdio.h> | |
# include <ctype.h> | |
# include <string.h> | |
FILE *arquivo, *escrita; | |
int partida = 0; | |
int estado = 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
``` | |
# coding: utf-8 | |
import csv | |
from collections import Counter | |
# Todas as perguntas são referentes ao arquivo `data.csv` | |
# Você ** não ** pode utilizar o pandas e nem o numpy para este desafio. | |
def reader_column(collumn): | |
data = [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{learn python} | |
https://www.quora.com/What-is-an-ideal-checklist-to-learn-Python-in-30-days | |
https://medium.freecodecamp.org/530-free-online-programming-computer-science-courses-you-can-start-in-may-5e82f5307867 | |
{codechallanges} | |
https://checkio.org/ | |
https://codewars.org | |
{videos} | |
https://www.youtube.com/user/schafer5/playlists |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://medium.com/@felipemonobe/express%C3%B5es-regulares-em-javascript-libere-o-poder-oculto-na-pr%C3%A1tica-parte-1-2e22910f7af2 | |
https://codeburst.io/javascript-learn-regular-expressions-for-beginners-bb6107015d91 | |
https://medium.freecodecamp.org/regular-expressions-demystified-regex-isnt-as-hard-as-it-looks-617b55cf787 | |
https://medium.com/@matthewmain/regex-javascript-edition-14c531ed572e | |
https://medium.com/trainingcenter/entendendo-de-uma-vez-por-todas-express%C3%B5es-regulares-parte-1-introdu%C3%A7%C3%A3o-dfe63e289dc3 | |
https://medium.com/@osuissa/regex-para-intervalos-numericos-expressao-regular-c6bbf0c91a24 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const pow = ( y ) => ( x ) => Math.pow( x, y ) | |
const cube = pow(3) | |
const NOT = ( x ) => !x | |
const isDivisibleBy = ( y ) => ( x ) => NOT( x % y ) | |
const isEven = isDivisibleBy(2) | |
const isOdd = ( x ) => NOT( isEven( x ) ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const pow = ( y ) => ( x ) => Math.pow( x, y ) | |
const square = pow(2) | |
const isGreatThan = ( y ) => ( x ) => x > y | |
const isGreatThan20 = isGreatThan(20) | |
const RadicandoGreatThan20 = ( value ) => isGreatThan20( square( value ) ) | |
const list = [1,2,3,4,5,6,7,8,9,10] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const inverse = ( x ) => x *- 1 | |
const add = ( y ) => ( x ) => x + y | |
const substract = ( y ) => ( x ) => add( inverse( y ) )( x ) | |
const root = ( y ) => ( x ) => Math.pow( x , 1/y) | |
const squareRoot = root( 2 ) | |
const multiply = ( y ) => ( x ) => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const add = ( x ) => ( y ) => x + y | |
const divide = ( x ) => ( y ) => { | |
let multiplyfor10 = 0; | |
const multiply10 = add(10) | |
const decrement1 = add(-1) | |
const addFinal = add(0.1) | |
const decrementY = add(-y) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const inverse = ( x ) => x *- 1 | |
const add = ( y ) => ( x ) => x + y | |
const substract = ( y ) => ( x ) => add( inverse( y ) )( x ) | |
const divide = ( y ) => ( x ) => { | |
let result = 0; | |
const subX = substract( x ) | |
const add1 = add(1) |
NewerOlder