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
Posición | Posición género | Dorsal | Nombre | Tiempo Real | Tiempo contador | |
---|---|---|---|---|---|---|
1 | 1 | 4810 | Oscar Rodriguez Rodriguez | 0:15:42 | 0:15:42 | |
2 | 2 | 10138 | Pau Vilaplana Vilar | 0:15:54 | 0:15:54 | |
3 | 3 | 10343 | Rubén Jiménez García García | 0:15:58 | 0:15:58 | |
4 | 4 | 10085 | Eduardo Campanario Galán | 0:16:02 | 0:16:02 | |
5 | 5 | 10399 | Pedro Muñoz Valencia | 0:16:30 | 0:16:30 | |
6 | 6 | 10240 | Mariusz Lewy Empresa: Gub | 0:16:44 | 0:16:47 | |
7 | 7 | 11369 | Joaquin Quispe | 0:16:46 | 0:16:46 | |
8 | 8 | 10366 | Jordi Cruxent Cort | 0:16:48 | 0:16:48 | |
9 | 9 | 10313 | Juan Alonso Sánchez | 0:16:50 | 0:16:50 |
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
Posición | Posición género | Dorsal | Nombre | Tiempo Real | Tiempo contador | |
---|---|---|---|---|---|---|
1 | 1 | 2483 | Aimane Eddaifi | 0:14:56 | 0:14:56 | |
2 | 2 | 9410 | Alejandro Rodriguez Pritchard | 0:15:13 | 0:15:13 | |
3 | 3 | 2429 | Guillem Carner Carrer | 0:15:16 | 0:15:16 | |
4 | 4 | 2401 | Youssef Abaghad | 0:15:18 | 0:15:18 | |
5 | 5 | 9424 | Albert Parreño Samper | 0:15:18 | 0:15:19 | |
6 | 6 | 7007 | Jesús Caparros Ampurdanes | 0:15:20 | 0:15:20 | |
7 | 7 | 1720 | Jorge Sánchez Salguero | 0:15:25 | 0:15:25 | |
8 | 8 | 2484 | Javier Colomer Barberà | 0:15:43 | 0:15:43 | |
9 | 9 | 9376 | Sergi Matas Largo | 0:15:54 | 0:15:55 |
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
(1..36).flat_map {|a| (1..36).flat_map {|b| (1..36).map {|c| [a, b, c].sort } } }.uniq | |
.select {|f| f.inject(&:*) == 36 } | |
.group_by {|m| m.inject(&:+) } | |
.find {|_,v| v.size > 1 }.last | |
.find {|a, b, c| c > a && c > b } | |
=> [2, 2, 9] |
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
class XgStruct | |
def initialize(attributes) | |
@attributes = process(attributes) | |
end | |
def method_missing(name, *args, &block) | |
if (name =~ /^(\w+)=$/) == 0 | |
@attributes[$1.to_sym] = args[0] | |
else | |
@attributes[name] || super |
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
require 'rubygems' | |
require 'aws-sdk' | |
AWS.config( | |
access_key_id: 'ACCESSKEY', | |
secret_access_key: 'SECRETKEY', | |
auto_scaling_endpoint: 'autoscaling.eu-west-1.amazonaws.com', | |
ec2_endpoint: 'ec2.eu-west-1.amazonaws.com' | |
) |