This file contains hidden or 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> | |
<style> | |
body { | |
display: flex; | |
flex-flow: row wrap; | |
} | |
.container { | |
width: 30%; | |
height: 400px; |
This file contains hidden or 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
#!/usr/bin/env python | |
def main(): | |
years_remain = int(raw_input('Years remain: ')) | |
rental_price = int(raw_input('Rental price (month): ')) | |
construction_value = (rental_price * 12) / (1.0 / years_remain) | |
print 'Construction value: {:,}'.format(construction_value) | |
land_quota = float(raw_input('Land quota (m^2): ')) | |
land_announced_value = int(raw_input('Land anno. valuation (/m^2): ')) | |
land_value = (land_announced_value / 0.9) * land_quota |
This file contains hidden or 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 <sstream> | |
#include <string> | |
#include <tuple> | |
template <size_t First, size_t Last> | |
struct ReadAux { | |
template <typename Tuple> | |
static auto& Exec(std::istream& os, Tuple&& args) { | |
os >> std::get<First>(args); |
OlderNewer