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 <stdio.h> | |
#include <string> | |
using namespace std; | |
struct troco | |
{ | |
int cedula; | |
int quantidade; | |
}; |
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 readline = require('readline'); | |
function solution(input, it) | |
{ | |
let firstLine = input.shift(), | |
firstLineElements = firstLine.split(' '); | |
const quantityHouses = firstLineElements[0]; | |
let dollars = parseInt(firstLineElements[1]); |
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
<!DOCTYPE html> | |
<html lang="PT-BR"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Document</title> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.carousel.min.css"> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.theme.default.min.css"> |
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
<html> | |
<head> | |
<style> | |
h1{ | |
text-align: center; | |
font-family: "Helvetica",sans-serif; | |
font-size: 50px; | |
} | |
</style> | |
</head> |
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
# search.py | |
# --------- | |
# Licensing Information: You are free to use or extend these projects for | |
# educational purposes provided that (1) you do not distribute or publish | |
# solutions, (2) you retain this notice, and (3) you provide clear | |
# attribution to UC Berkeley, including a link to http://ai.berkeley.edu. | |
# | |
# Attribution Information: The Pacman AI projects were developed at UC Berkeley. | |
# The core projects and autograders were primarily created by John DeNero | |
# (denero@cs.berkeley.edu) and Dan Klein (klein@cs.berkeley.edu). |
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
window.nameParse = function(name){ | |
let nameExploded = val | |
.split(' ') | |
.filter(function (v) { | |
return v.trim().length > 0; | |
}); | |
nameExploded=nameExploded.map(function (val) { | |
if( | |
([ | |
"de", |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<title>Bootstrap Example</title> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> | |
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous"> | |
<style type="text/css"> | |
@import url('https://fonts.googleapis.com/css?family=Comfortaa:400,700'); |
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 <iostream> | |
using namespace std; | |
int main(){ | |
int n,razao,nTermos,lastTerm,sumTerms,atualTerm; | |
cout << "Digite o numero inicial: "; | |
cin >> n; | |
cout << "Digite a razao: "; | |
cin >> razao; | |
cout << "Digite o numero de termos: "; | |
cin >> nTermos; |
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 <iostream> | |
#include <locale.h> | |
using namespace std; | |
int main(){ | |
int qtd,n1=1,n2=1,i=0,tmp; | |
setlocale(LC_ALL,"Portuguese"); | |
cout << "Digite a quantidade da sequência: "; | |
cin >> qtd; | |
if(qtd>0){ | |
cout << 1; |
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
<?php | |
$ch=curl_init(); | |
curl_setopt($ch,CURLOPT_SSL_VERIFYPEER,false); | |
curl_setopt($ch,CURLOPT_RETURNTRANSFER,true); | |
$data=http_build_query(["auth" => "0a9a8d0852dac6bf4a0c70f06ca72009","tipo" => "sedex","formato" => "json","cep_origem" => "25264-148","cep_destino" => "01207010","cm_altura" => 10,"cm_largura" => 15,"cm_comprimento" => 13,"peso" =>386]); | |
curl_setopt($ch,CURLOPT_URL,"http://webservice.kinghost.net/web_frete.php?".$data); | |
$result=curl_exec($ch); | |
curl_close($ch); |
NewerOlder