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
<%= render 'layouts/navbar' %> | |
<%= render 'layouts/flash' %> | |
<header class="l-header" style="background-image: url('<%= @where.backgrounds.first.picture.url(:large) if @where.backgrounds.any? %>')"> | |
<nav class="b-primary-nav l-container" role="navigation"> | |
<div class="b-logo" style="margin-top: 250px;"> | |
<h2 class="text-color-white"><%= @where.name %></h2> | |
</div> | |
<!-- | |
<ul class="b-primary-nav__list"> |
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
def pairs( a,k) | |
x = 0 | |
#y = 0 | |
resp = 0 | |
m = a.length.to_i | |
while x < a.length | |
y = m - 1 | |
while y < m | |
#puts y | |
if((a[y] - a[x])==k) |
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> | |
int main(void) { | |
int valor_saque = 0, nota100 = 0, nota50 = 0, nota20 = 0, nota10 = 0, resto100 = 0, resto50 = 0, resto20 = 0, resto10 = 0; | |
printf("Digite valor do saque: \n"); | |
scanf("%d", &valor_saque); | |
if(valor_saque = ""); | |
break; | |
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
Rails.application.configure do | |
config.cache_classes = false | |
# Show full error reports and disable caching | |
config.consider_all_requests_local = true | |
config.action_controller.perform_caching = false | |
config.eager_load = false |