sudo apt update && sudo apt upgrade
sudo apt-get install rakarrack
| # $ sudo pip install opencv-python | |
| import cv2 | |
| import os | |
| ## COLETA ARQUIVO | |
| nome_arquivo = 'CMYK.png' | |
| diretorio = nome_arquivo[:-4] | |
| ## ARMAZENA |
| #include<stdio.h> | |
| #include<stdlib.h> | |
| int max(int a, int b){ | |
| if(a > b){ | |
| return a; | |
| } | |
| return b; | |
| } |
| #include<stdio.h> | |
| #define TAM 7 | |
| int menorDiferenca(int * V, int ini, int fim){ | |
| int meio = (ini+fim)/2; | |
| // printf("%d",meio); | |
| if(ini>=fim){ | |
| return V[meio]; |
| /** | |
| int V[] = {05,10,15,20,25,30,35,40}; | |
| int V[] = {25,30,35,40,05,10,15,20}; | |
| - sem saber qual valor de k | |
| - buscar por um valor x | |
| **/ | |
| #include <stdio.h> | |
| #include <stdlib.h> |